ComponentOne ADO.NET DataExtender
C1.C1DataExtender.2 Assembly / C1.C1DataExtender Namespace / ViewSetColumnStyle Class / BaseColumnStyle Property

In This Topic
    BaseColumnStyle Property
    In This Topic
    Defines the way to determine a base style, the one that this style properties are inherited from.
    Syntax
    'Declaration
     
    Public Property BaseColumnStyle As BaseColumnStyleEnum
    public BaseColumnStyleEnum BaseColumnStyle {get; set;}
    Remarks

    Based on this property value, base column style is determined as follows:

    (1) If BaseColumnStyle = BaseColumnStyleEnum.None, base column style is determined by the BaseStyleName property. Non-empty BaseStyleName explicitly specifies a base column style from the global C1DataViewSet.ColumnStyles and C1DataViewSet.SchemaExtender.ColumnStyles column style collections (C1DataViewSet.ColumnStyles collection is looked up first). Empty BaseStyleName means there is no base column style.

    (2) If BaseColumnStyle = BaseColumnStyleEnum.ColumnStyleDefault, base column style is determined by column styles mapping rules defined in C1DataViewSet.ColumnStyleRules and C1DataViewSet.SchemaExtender.ColumnStyleRules (C1DataViewSet.ColumnStyleRules has a priority).

    (3) If BaseColumnStyle = BaseColumnStyleEnum.BaseField, base column style is the style of corresponding C1.C1DataExtender.SchemaExtender.DataColumnExtender from SchemaExtender. If SchemaExtender is not defined then base style is determined as described for BaseColumnStyleEnum.ColumnStyleDefault value.

    See Also