Beispiel #1
0
 public XmlTreeView(RadTreeView treeView)
 {
     this.AllowDragDrop            = treeView.AllowDragDrop;
     this.AllowDrop                = treeView.AllowDrop;
     this.BackColor                = treeView.BackColor;
     this.CheckBoxes               = treeView.CheckBoxes;
     this.MultiSelect              = treeView.MultiSelect;
     this.FullRowSelect            = treeView.FullRowSelect;
     this.ItemHeight               = treeView.ItemHeight;
     this.LineColor                = treeView.LineColor;
     this.LineStyle                = treeView.LineStyle;
     this.PathSeparator            = treeView.PathSeparator;
     this.ShowLines                = treeView.ShowLines;
     this.ShowExpandCollapse       = treeView.ShowExpandCollapse;
     this.ShowRootLines            = treeView.ShowRootLines;
     this.ThemeClassName           = treeView.ThemeClassName;
     this.ThemeName                = treeView.ThemeName;
     this.TreeIndent               = treeView.TreeIndent;
     this.TriStateMode             = treeView.TriStateMode;
     this.LabelEdit                = treeView.AllowEdit;
     this.ExpandAnimation          = treeView.ExpandAnimation;
     this.AllowArbitraryItemHeight = treeView.AllowArbitraryItemHeight;
     this.AllowDragDrop            = treeView.AllowDragDrop;
     this.SpacingBetweenNodes      = treeView.SpacingBetweenNodes;
     this.RightToLeft              = treeView.RightToLeft;
     this.SpacingBetweenNodes      = treeView.SpacingBetweenNodes;
     foreach (RadTreeNode node in (Collection <RadTreeNode>)treeView.Nodes)
     {
         this.Nodes.Add(new XmlTreeNode(node));
     }
 }
Beispiel #2
0
 public XmlDataFilter(RadDataFilter dataFilter)
 {
     this.Expression = dataFilter.Expression;
     this.AutoGenerateDescriptorItems = dataFilter.AutoGenerateDescriptorItems;
     this.SortFieldNames           = dataFilter.SortFieldNames;
     this.AllowAdd                 = dataFilter.AllowAdd;
     this.AllowRemove              = dataFilter.AllowRemove;
     this.AllowDragDrop            = dataFilter.AllowDragDrop;
     this.AllowDrop                = dataFilter.AllowDrop;
     this.BackColor                = dataFilter.BackColor;
     this.CheckBoxes               = dataFilter.CheckBoxes;
     this.MultiSelect              = dataFilter.MultiSelect;
     this.ItemHeight               = dataFilter.ItemHeight;
     this.LineColor                = dataFilter.LineColor;
     this.LineStyle                = dataFilter.LineStyle;
     this.PathSeparator            = dataFilter.PathSeparator;
     this.ShowLines                = dataFilter.ShowLines;
     this.ShowExpandCollapse       = dataFilter.ShowExpandCollapse;
     this.ShowRootLines            = dataFilter.ShowRootLines;
     this.ThemeClassName           = dataFilter.ThemeClassName;
     this.ThemeName                = dataFilter.ThemeName;
     this.TreeIndent               = dataFilter.TreeIndent;
     this.LabelEdit                = dataFilter.AllowEdit;
     this.ExpandAnimation          = dataFilter.ExpandAnimation;
     this.AllowArbitraryItemHeight = dataFilter.AllowArbitraryItemHeight;
     this.SpacingBetweenNodes      = dataFilter.SpacingBetweenNodes;
     this.RightToLeft              = dataFilter.RightToLeft;
 }