Back to API Home

The ViewerTreeControl type exposes the following members.

Constructors

  NameDescription
Public methodViewerTreeControl
Initializes a new instance of the ViewerTreeControl class.

Methods

  NameDescription
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate()()()(). In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
(Overrides FrameworkElement..::..OnApplyTemplate()()()().)

Fields

Properties

  NameDescription
Public propertyIsItemSelectablePredicate
Gets or sets the predicate that determines if a item is selectable.
Public propertyRootItem
Gets or sets the root item.
Public propertySelectedItem
Gets or sets the selected item.
Public propertySelectedItemId
Gets or sets the selected item id.
Public propertyShowFiles
Gets or sets a value indicating whether to show children that are files.

Events

  NameDescription
Public eventSelectedItemChanged
Occurs when the selected item changed.

See Also