XmlTreeView
Stores XML-serializable RadTreeView settings and its root-node data.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class XmlTreeView
Inheritance: objectXmlTreeView
Constructors
Initializes an empty tree data object for XML deserialization.
public XmlTreeView()
Copies the supported settings and root nodes from a tree view.
Fields
Gets or sets whether nodes can use heights other than the tree's default item height.
public bool AllowArbitraryItemHeight
Gets or sets whether the reconstructed tree supports drag-and-drop operations.
public bool AllowDragDrop
Gets or sets whether nodes in the reconstructed tree can accept drops.
public bool AllowDrop
Stores the legacy AllowIncrementalSearch XML attribute. Deserialize(RadTreeView) does not apply it to KeyboardSearchEnabled.
public bool AllowIncrementalSearch
Stores the AllowPlusMinusAnimation XML attribute. Deserialize(RadTreeView) does not apply it.
public bool AllowPlusMinusAnimation
Gets or sets the tree background color represented by XmlBackColor.
public Color BackColor
Gets or sets whether the reconstructed tree displays checkboxes for nodes.
public bool CheckBoxes
Gets or sets the animation used when expanding or collapsing the reconstructed tree.
public ExpandAnimation ExpandAnimation
Gets or sets whether selecting a node highlights its entire row.
public bool FullRowSelect
Gets or sets the default height of tree nodes.
public int ItemHeight
Gets or sets whether node text can be edited in the reconstructed tree.
public bool LabelEdit
Gets or sets the connector-line color represented by XmlLineColor.
public Color LineColor
Gets or sets the style used to draw connector lines between nodes.
public TreeLineStyle LineStyle
Stores the MouseDownEditDelay XML attribute. Deserialize(RadTreeView) does not apply it.
public int MouseDownEditDelay
Gets or sets whether the reconstructed tree allows multiple nodes to be selected.
public bool MultiSelect
Nodes
List<XmlTreeNode>
Gets or sets the serialized root nodes in tree order.
public List<XmlTreeNode> Nodes
Gets or sets the delimiter used between node names in tree paths.
public string PathSeparator
Stores the PlusMinusAnimationStep XML attribute. Deserialize(RadTreeView) does not apply it.
public double PlusMinusAnimationStep
Gets or sets the right-to-left layout direction restored to the tree view.
public RightToLeft RightToLeft
Gets or sets whether node expand and collapse controls are shown.
public bool ShowExpandCollapse
Stores the legacy ShowPlusMinus XML attribute. Deserialize(RadTreeView) uses ShowExpandCollapse instead.
public bool ShowPlusMinus
Gets or sets whether connector lines are drawn for root nodes.
public bool ShowRootLines
Gets or sets the vertical spacing added between adjacent nodes.
public int SpacingBetweenNodes
Gets or sets the theme class name restored to the tree view.
public string ThemeClassName
Gets or sets the horizontal indentation between tree depth levels.
public int TreeIndent
Gets or sets whether checking a parent node propagates its state to child nodes.
public bool TriStateMode
Properties
Gets or sets the XML string used to serialize BackColor with the shared color converter.
public string XmlBackColor { get; set; }
Gets or sets the XML string used to serialize LineColor with the shared color converter.
public string XmlLineColor { get; set; }
Methods
Applies the supported settings to a tree view and replaces its root nodes with the stored node data.
public void Deserialize(RadTreeView treeView)
The tree view to update; if null, no changes are made.
Maps supported legacy attribute names to the current multi-select and drag-and-drop settings.
public virtual void ReadUnknownAttribute(XmlAttribute attribute)
An attribute that the XML serializer did not recognize as a declared member.