-
-
Notifications
You must be signed in to change notification settings - Fork 234
Nodify_GroupingNode
Namespace: Nodify
Assembly: Nodify
Inheritance: Object → DispatcherObject → DependencyObject → Visual → UIElement → FrameworkElement → Control → ContentControl → HeaderedContentControl → GroupingNode
References: GroupingMovementMode, ItemContainer, NodifyEditor, ResizeEventHandler
Defines a panel with a header that groups ItemContainers inside it and can be resized.
public class GroupingNode : HeaderedContentControl
Initializes a new instance of the GroupingNode class.
public GroupingNode();
Gets the ContentControl control of this GroupingNode.
protected FrameworkElement ContentControl;
Field Value
protected const string ElementContent = "PART_Content";
Field Value
protected const string ElementHeader = "PART_Header";
Field Value
protected const string ElementResizeThumb = "PART_ResizeThumb";
Field Value
protected static object GroupMovementBoxed;
Field Value
Gets the HeaderedContentControl.Header control of this GroupingNode.
protected FrameworkElement HeaderControl;
Field Value
Gets the FrameworkElement used to resize this GroupingNode.
protected FrameworkElement ResizeThumb;
Field Value
Gets or sets the actual size of this GroupingNode.
public Size ActualSize { get; set; }
Property Value
Gets or sets a value that indicates whether this GroupingNode can be resized.
public bool CanResize { get; set; }
Property Value
Gets the NodifyEditor that owns this GroupingNode.Container.
protected ItemContainer Container { get; set; }
Property Value
Gets the NodifyEditor that owns this GroupingNode.
protected NodifyEditor Editor { get; set; }
Property Value
Gets or sets the brush used for the background of the HeaderedContentControl.Header of this GroupingNode.
public Brush HeaderBrush { get; set; }
Property Value
Gets or sets the default movement mode which can be temporarily changed by holding the SwitchMovementModeModifierKey while dragging by the header.
public GroupingMovementMode MovementMode { get; set; }
Property Value
Invoked when the GroupingNode.ResizeCompleted event is not handled. Parameter is the ItemContainer.ActualSize of the container.
public ICommand ResizeCompletedCommand { get; set; }
Property Value
Invoked when the GroupingNode.ResizeStarted event is not handled. Parameter is the ItemContainer.ActualSize of the container.
public ICommand ResizeStartedCommand { get; set; }
Property Value
public override void OnApplyTemplate();
Occurs when the node finished resizing.
public event ResizeEventHandler ResizeCompleted;
Event Type
Occurs when the node started resizing.
public event ResizeEventHandler ResizeStarted;
Event Type