Search Results for

    Show / Hide Table of Contents

    TLinkedStyle Class

    This class is used as a part of a TFlxFormat class, and stores how a cell format is linked to a style.

    Syntax

    Namespace: FlexCel.Core

    public class TLinkedStyle: ICloneable

    Methods

    Name Description
    Assign Copies a new style into this object.
    SameData Returns true if the 2 instances have the same data.
    Clone Returns a deep copy of the object.
    Equals Returns true if obj and this object have the same value.
    GetHashCode Returns a hashcode for this object.

    Properties

    Name Description
    AutomaticChoose When this property is true (the default) FlexCel will automatically choose which linked properties to apply depending on what changes from the base style. For example, if this style has a different font than the basic style, the font will be not linked, and when you change the base style it will keep the same.
    Excel behaves this way when it adds styles. To manually choose what the format will affect, set this to none.
    This property doesn't correspond with any Excel property, and it is not stored in the file.
    LinkedNumericFormat If true, the numeric format will be linked to the parent style, and it will change when you change the style.
    If false the numeric format will not change even if you change it in the base style.
    Note that this property has no effect unless AutomaticChoose is false.
    LinkedFont If true, the font will be linked to the parent style, and it will change when you change the style.
    If false the font will not change even if you change it in the base style.
    Note that this property has no effect unless AutomaticChoose is false.
    LinkedAlignment If true, the alignment will be linked to the parent style, and it will change when you change the style.
    If false the alignment not change even if you change it in the base style.
    Note that this property has no effect unless AutomaticChoose is false.
    LinkedBorder If true, the border will be linked to the parent style, and it will change when you change the style.
    If false the border will not change even if you change it in the base style.
    Note that this property has no effect unless AutomaticChoose is false.
    LinkedFill If true, the fill pattern will be linked to the parent style, and it will change when you change the style.
    If false the fill pattern will not change even if you change it in the base style.
    Note that this property has no effect unless AutomaticChoose is false.
    LinkedProtection If true, the protection will be linked to the parent style, and it will change when you change the style.
    If false the protection will not change even if you change it in the base style.
    Note that this property has no effect unless AutomaticChoose is false.
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com