[]
        
(Showing Draft Content)

C1.Blazor.Ribbon.C1DropDownTool

C1DropDownTool Class

This control represents a drop-down button, with a Content element.

Inheritance
C1DropDownTool
Namespace: C1.Blazor.Ribbon
Assembly: C1.Blazor.Ribbon.dll
Syntax
public class C1DropDownTool : C1Tool, IHandleAfterRender, IDependencyObject, IHandleEvent, IDisposable, IComponent
Public Class C1DropDownTool
    Inherits C1Tool
    Implements IHandleAfterRender, IDependencyObject, IHandleEvent, IDisposable, IComponent

Constructors

Name Description
C1DropDownTool()

Initializes a new instance of the C1DropDownTool class.

Fields

Name Description
ContentProperty

Identifies the Content dependency property.

ContentTemplateProperty

Identifies the ContentTemplate dependency property.

IsDropDownOpenChanged

Occurs when the drop-down is open or closed.

IsDropDownOpenProperty

Identifies the IsDropDownOpen dependency property.

PopupStyleProperty

Identifies the PopupStyle dependency property.

Properties

Name Description
Content

Gets or sets the popup content.

ContentTemplate

Gets or sets the DataTemplate used to create the popup content.

IsDropDownOpen

Gets or sets whether the drop-down is opened.

PopupStyle

Gets or sets the style of the popup.

Methods

Name Description
Dispose(bool)
GetContentRenderFragment(C1Style)

Returns a RenderFragment that represents the tool's UI content.

OnAfterRender(bool)