menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IStyleHolder - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IStyleHolder

    Represents style holders

    Namespace: Syncfusion.DocIO.DLS
    Assembly: Syncfusion.DocIO.Base.dll
    Syntax
    public interface IStyleHolder

    Properties

    StyleName

    Gets the style name.

    Declaration
    string StyleName { get; }
    Property Value
    Type Description
    System.String

    The string that represents the style name.

    Methods

    ApplyStyle(BuiltinStyle)

    Applies the built-in style.

    Declaration
    void ApplyStyle(BuiltinStyle builtinStyle)
    Parameters
    Type Name Description
    BuiltinStyle builtinStyle

    The BuiltinStyle member that specifies the built-in style.

    ApplyStyle(String)

    Applies a new style.

    Declaration
    void ApplyStyle(string styleName)
    Parameters
    Type Name Description
    System.String styleName

    The string that represents the style name.

    Remarks

    Specified style must exists in Document.Styles collection

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved