menu

WinForms

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

    Show / Hide Table of Contents

    Interface ICollapsableConfigLexem

    Provides the functionality for lexem configurations. It describes behaviour of the lexem, that can be collapsed. It describes behaviour of the lexem, that can be collapsed.

    Inherited Members
    IConfigLexem.AllowTriggers
    IConfigLexem.BeginBlock
    IConfigLexem.Condition
    IConfigLexem.ContentDivider
    IConfigLexem.ContinueBlock
    IConfigLexem.DefaultInGroup
    IConfigLexem.DropContextChoiceList
    IConfigLexem.DropContextPrompt
    IConfigLexem.EndBlock
    IConfigLexem.FindConfigs(String)
    IConfigLexem.Format
    IConfigLexem.FormatName
    IConfigLexem.ID
    IConfigLexem.Indent
    IConfigLexem.IndentationGuideline
    IConfigLexem.IsBeginRegex
    IConfigLexem.IsComplex
    IConfigLexem.IsContinueRegex
    IConfigLexem.IsEndRegex
    IConfigLexem.IsEqualToBegin(String)
    IConfigLexem.IsEqualToContinue(String)
    IConfigLexem.IsEqualToEnd(String)
    IConfigLexem.IsPseudoEnd
    IConfigLexem.Language
    IConfigLexem.NextID
    IConfigLexem.OnlyLocalSublexems
    IConfigLexem.ParentConfig
    IConfigLexem.Priority
    IConfigLexem.References
    IConfigLexem.SubLexems
    IConfigLexem.Type
    IConfigLexem.TypeCollapsed
    IConfigLexem.UseCustomControl
    IConfigLexem.VirtualConfig
    Namespace: Syncfusion.Windows.Forms.Edit.Interfaces
    Assembly: Syncfusion.Edit.Windows.dll
    Syntax
    public interface ICollapsableConfigLexem : IConfigLexem

    Properties

    AutoNameExpression

    Gets the expression for auto-naming.

    Declaration
    string AutoNameExpression { get; }
    Property Value
    Type
    System.String
    Remarks

    When parsing collapsed region, parser reads text from stream until text matches given expression. You can specifie different named groups here to use them later in AutoNameTemplate.

    AutoNameRegex

    Gets the regular expression instance for AutoNameExpression.

    Declaration
    Regex AutoNameRegex { get; }
    Property Value
    Type
    System.Text.RegularExpressions.Regex

    AutoNameTemplate

    Gets the template of resulting text for auto-naming of collapse.

    Declaration
    string AutoNameTemplate { get; }
    Property Value
    Type
    System.String
    Remarks

    To specifie "$" symbol you must use $$. To use result of some named group, use ${name}.

    CollapseName

    Gets the name of the collapsed region.

    Declaration
    string CollapseName { get; }
    Property Value
    Type
    System.String
    Remarks

    If IsCollapseAutoNamed is true, then this property`s value will be used just when found name is empty.

    IsCollapsable

    Gets a value indicating whether this configuration supports collapsing or not.

    Declaration
    bool IsCollapsable { get; }
    Property Value
    Type
    System.Boolean
    Remarks

    If lexem is not collapsabe, all other properties does not have any influence to it`s behaviour.

    IsCollapseAutoNamed

    Gets a value indicating whether lexem can read it`s text from sub-lexems or not.

    Declaration
    bool IsCollapseAutoNamed { get; }
    Property Value
    Type
    System.Boolean
    Remarks

    If this property is false, then CollapseName will be used to name the region.

    Note: you should know that is this property is true, then on by-lexem reading you`ll have to wait while sub-lexems will be loaded, then processed by RegEx and only then you`ll have your collapsible lexem.

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