[]
        
(Showing Draft Content)

C1.WPF.Ribbon.C1SelectTool

C1SelectTool Class

Tool that offers a list of values that can be selected.

Inheritance
C1SelectTool
Namespace: C1.WPF.Ribbon
Assembly: C1.WPF.Ribbon.dll
Syntax
[StyleTypedProperty(Property = "PopupStyle", StyleTargetType = typeof(C1PopupBorder))]
[TemplatePart(Name = "ComboBox", Type = typeof(C1ComboBox))]
public class C1SelectTool : C1Tool

Constructors

Name Description
C1SelectTool()

Initializes a new instance of the C1SelectTool class.

Fields

Name Description
ItemConverterProperty

Identifies the ItemConverter dependency property.

ItemTemplateProperty

Identifies the ItemTemplate dependency property.

ItemsSourceProperty

Identifies the ItemsSource dependency property.

PopupStyleProperty

Identifies the PopupStyle dependency property.

SelectedIndexProperty

Identifies the SelectedIndex dependency property.

SelectedItemProperty

Identifies the SelectedItem dependency property.

Properties

Name Description
IsEditable

Gets whether the tool is editable and can get the keyboard focus to enter text.

ItemConverter

Gets or sets the item converter.

ItemTemplate

Gets or sets the template of the items.

ItemsSource

Gets or sets the items displayed in the list.

PopupStyle

Gets or sets the style of the popup.

SelectedIndex

Gets or sets the index of the selected item.

SelectedItem

Gets or sets the selected item.

Methods

Name Description
Dispose(bool)
Execute(object)

Called when the tool is executed.

InitializeItemConverter()

Initialize ItemConverter

OnApplyTemplate()
OnEditCompleted()

Called when the user ended editing.

Events

Name Description
SelectedItemChanged

Occurs when the selected item changed.