Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / Style Class
Properties Methods

In This Topic
    Style Class Members
    In This Topic

    The following tables list the members exposed by Style.

    Public Properties
     NameDescription
    Public Property Gets the collection of alternative names for the style. These names can be used in an application's user interface as desired.  
    Public Property Gets or sets whether an application shall automatically modify this style when the contents of an entire paragraph in the document with this style applied are modified, ensuring that although only a single instance of text with this style was modified, that change is stored on the style and therefore propagated to all locations where the style is in use.  
    Public Property Gets or sets an existing style on which the formatting of this style is based.  
    Public Property Gets a value indicating whether this style is one of the built-in styles in Microsoft Word.  
    Public Property Gets the locale independent style identifier for a built-in style.  
    Public Property Gets the parent document.  
    Public Property Gets the character formatting of this style.  
    Public Property Get a value indicating whether the built-in style has been modified or applied in the document or it is a new style that has been created in the document.  
    Public Property Gets a value indicating whether a style is a linked style that can be used for both paragraph and character formatting.  
    Public PropertyGets the style linked to the current style.

    Styles can be paired to comprise a linked style.

    A linked style is a grouping of a paragraph style and a character style that is used in a user interface to allow the same set of formatting properties to be applied.

     
    Public PropertyGet a list formatting for the paragraph style.

    This property is only valid for paragraph styles. For other style types this property returns null.

     
    Public PropertyGets the ListTemplate that defines list formatting for the list style.

    This property is only valid for list styles. For other style types this property returns null.

     
    Public PropertyGets or sets a value indicating whether an application shall prevent the use of this style when this document is loaded and/or modified.

    If true, this style can be used to format existing content (i.e. any content that references this style shall have its properties as normal), but new instances of the style shall be prevented from being applied via all mechanisms associated with that application.

     
    Public Property Gets or sets the name of the style.  
    Public Property Gets or sets the style to be applied automatically to a new paragraph inserted after a paragraph formatted with the specified style.  
    Public Property Gets the paragraph formatting of the style.  
    Public Property A number that can be used to sort the set of style definitions in a user interface.  
    Public Property Gets or sets a value indicating whether this style shall be treated as a primary style when this document is loaded by an application. If true then this style has been designated as being particularly important for the current document, and this information can be used by an application in any means desired.  
    Public PropertyGets or sets unique identifiers used to track style editing session.

    A producer can choose to increment the revision save ID value to indicate subsequent editing (editing between save actions) to indicate the order of the saves performed.

     
    Public PropertyGets a TableStyle object representing properties that can be applied to a table using a table style.  
    Public Property Gets the style type.  
    Public PropertyGets or sets a value indicating whether Visibility shall be reset when this style is used by the content of the document.

    If true, an application shall ensure that even if the Visibility is StyleVisibility.SemiHidden that this property should be considered as StyleVisibility.Visible if the style is referenced by any content in the document.

     
    Public Property Gets or sets the style visibility in application user interface.  
    Public Property Gets the Word style English name.  
    Top
    Public Methods
     NameDescription
    Public Method Deletes the style from the document.  
    Top
    See Also