menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DynamicFormatManager - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DynamicFormatManager

    Represents a class that provides the dynamic FormatManager.

    Inheritance
    System.Object
    DynamicFormatManager
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Edit.Implementation.Formatting
    Assembly: Syncfusion.Edit.Windows.dll
    Syntax
    public class DynamicFormatManager

    Constructors

    DynamicFormatManager()

    Declaration
    public DynamicFormatManager()

    Properties

    Item[CoordinatePoint, CoordinatePoint]

    Gets the list of dynamic formatting, that intercepts with given range.

    Declaration
    public IList this[CoordinatePoint start, CoordinatePoint end] { get; }
    Parameters
    Type Name Description
    CoordinatePoint start
    CoordinatePoint end
    Property Value
    Type
    System.Collections.IList

    Item[String]

    Gets registered dynamic formatting layer by name.

    Declaration
    public IDynamicFormatsLayer this[string name] { get; }
    Parameters
    Type Name Description
    System.String name
    Property Value
    Type
    IDynamicFormatsLayer

    Layers

    Gets collection of layers.

    Declaration
    public ICollection Layers { get; }
    Property Value
    Type
    System.Collections.ICollection

    Names

    Gets collection of layer names.

    Declaration
    public ICollection Names { get; }
    Property Value
    Type
    System.Collections.ICollection

    Methods

    GetFormatsWithEndAt(CoordinatePoint)

    Gets the list of dynamic formats that finish at specified point.

    Declaration
    public IList GetFormatsWithEndAt(CoordinatePoint endPoint)
    Parameters
    Type Name Description
    CoordinatePoint endPoint

    Specified finish point.

    Returns
    Type Description
    System.Collections.IList

    List of dynamic formats that finish at specified point.

    layer_DataChanged(Object, EventArgs)

    Occurs when resets the temporary layer data.

    Declaration
    public void layer_DataChanged(object sender, EventArgs e)
    Parameters
    Type Name Description
    System.Object sender

    Sender.

    System.EventArgs e

    EventArgs.

    MergeFormats(ISnippetFormat, ISnippetFormat)

    Merges two formats into the new one.

    Declaration
    protected ISnippetFormat MergeFormats(ISnippetFormat formatOld, ISnippetFormat formatNew)
    Parameters
    Type Name Description
    ISnippetFormat formatOld

    Basic format.

    ISnippetFormat formatNew

    Formats that overrides basic format.

    Returns
    Type Description
    ISnippetFormat

    New format instance that contains baisc format settings overriden with settings from the new format.

    MergeInFormat(IDynamicFormatsLayer, IDynamicFormat)

    Merges dynamic format into the specified dynamic formats layer.

    Declaration
    protected void MergeInFormat(IDynamicFormatsLayer layer, IDynamicFormat formatToMergeIn)
    Parameters
    Type Name Description
    IDynamicFormatsLayer layer

    Layer the specified dynamic format should be merged into.

    IDynamicFormat formatToMergeIn

    Dynamic format to be merged in.

    RegisterLayer(String)

    Creates a new layer and adds it to the list.

    Declaration
    public IDynamicFormatsLayer RegisterLayer(string name)
    Parameters
    Type Name Description
    System.String name

    Name of the layer.

    Returns
    Type Description
    IDynamicFormatsLayer

    Newly created layer.

    RegisterLayer(String, Boolean)

    Creates a new layer and adds it to the list.

    Declaration
    public IDynamicFormatsLayer RegisterLayer(string name, bool hidden)
    Parameters
    Type Name Description
    System.String name

    Name of the layer.

    System.Boolean hidden

    Specifies whether this layer is hidden.

    Returns
    Type Description
    IDynamicFormatsLayer

    Newly created layer.

    UpdateFormats()

    Updates the state of start and end points of each dynamic formatting (if needed) and disposes deleted layers.

    Declaration
    public void UpdateFormats()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved