public ErrorTreeNode() { TreeItemControl item_ctrl = new TreeItemControl(); item_ctrl.Text = NODE_TEXT; item_ctrl.Icon = UriResources.Images.Error16; Header = item_ctrl; }
public CustomTreeNode(bool useIcon) { m_ItemCtrl = new TreeItemControl(useIcon); m_ItemCtrl.DragStarted += new DragStartedEventHandler(m_ItemCtrl_DragStarted); m_ItemCtrl.DragDelta += new DragDeltaEventHandler(m_ItemCtrl_DragDelta); m_ItemCtrl.DragCompleted += new DragCompletedEventHandler(m_ItemCtrl_DragCompleted); m_ItemCtrl.MouseDoubleClick += new MouseDoubleClickEventHandler(m_ItemCtrl_MouseDoubleClick); Header = m_ItemCtrl; }
public LoadAllTreeNode() { TreeItemControl item_ctrl = new TreeItemControl(); item_ctrl.Text = NODE_TEXT; item_ctrl.Icon = UriResources.Images.LoadAll16; Header = item_ctrl; }
private void UpdateNodeIcon() { TreeItemControl item_ctrl = Header as TreeItemControl; if (item_ctrl != null) { item_ctrl.Icon = MemberChoiceControl.GetIconImage(MemberInfo); } }
public ReloadAllTreeNode() { TreeItemControl item_ctrl = new TreeItemControl(); item_ctrl.Text = NODE_TEXT; item_ctrl.Icon = UriResources.Images.LoadAll16; item_ctrl.ItemText.Foreground = new SolidColorBrush(Colors.Blue); Header = item_ctrl; }