Class ComboBoxTreeViewWithNewItem
Inheritance
System.Object
ComboBoxTreeViewWithNewItem
Assembly: Sdl.Desktop.Platform.Controls.dll
public class ComboBoxTreeViewWithNewItem : ComboBox
Constructors
Declaration
public ComboBoxTreeViewWithNewItem()
Fields
Dependency property to get/set the new item command
Declaration
public static readonly DependencyProperty NewItemCommandProperty
Field Value
Type |
Description |
System.Windows.DependencyProperty |
|
NewItemTextProperty
Dependency property to get/set the new item text
Declaration
public static readonly DependencyProperty NewItemTextProperty
Field Value
Type |
Description |
System.Windows.DependencyProperty |
|
NewItemToolTipTextProperty
Dependency property to get/set the new item tooltip text
Declaration
public static readonly DependencyProperty NewItemToolTipTextProperty
Field Value
Type |
Description |
System.Windows.DependencyProperty |
|
Dependency property to get/set the new item visibility
Declaration
public static readonly DependencyProperty NewItemVisibilityProperty
Field Value
Type |
Description |
System.Windows.DependencyProperty |
|
Declaration
public static readonly DependencyProperty SelectedHierarchyProperty
Field Value
Type |
Description |
System.Windows.DependencyProperty |
|
Declaration
public static readonly DependencyProperty SelectedItemProperty
Field Value
Type |
Description |
System.Windows.DependencyProperty |
|
Properties
Declaration
public ICommand NewItemCommand { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
NewItemText
Declaration
public string NewItemText { get; set; }
Property Value
Type |
Description |
System.String |
|
NewItemToolTipText
Declaration
public string NewItemToolTipText { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public Visibility NewItemVisibility { get; set; }
Property Value
Type |
Description |
System.Windows.Visibility |
|
Selected hierarchy of the treeview
Declaration
public IEnumerable<string> SelectedHierarchy { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
Selected item of the TreeView
Declaration
public object SelectedItem { get; set; }
Property Value
Type |
Description |
System.Object |
|
Methods
Declaration
public override void OnApplyTemplate()
Declaration
protected override void OnDropDownClosed(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnDropDownOpened(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Extension Methods