GroupFieldElement
Represent a group field element in a GroupElement
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GroupFieldElement : GridGroupVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementGridVisualElementGridGroupVisualElementGroupFieldElement...
Implements:
Inherited Members
Constructors
Initializes a new instance of the GridGroupByField class.
public GroupFieldElement(TemplateGroupsElement template, GroupDescriptor groupDescription, SortDescriptor sortDescription)
An instance of TemplateGroupsElement.
groupDescriptionGroupDescriptorAn instance of GroupDescriptor.
sortDescriptionSortDescriptorAn instance of the SortDescriptor.
Properties
Gets the arrow.
public ArrowPrimitive Arrow { get; }
The arrow.
Gets the column.
public GridViewColumn Column { get; }
The column.
Gets the remove button.
public RadButtonElement RemoveButton { get; }
The remove button.
Gets the associated instance of type SortDescription
public SortDescriptor SortDescription { get; }
Methods
Arranges the RadElement to its final location. The element must call the Arrange method of each of its children.
protected override SizeF ArrangeOverride(SizeF finalSize)
The size that is available for element.
Returns:The rectangle occupied by the element. Usually finalSize. Should you return different size, the Layout system will restart measuring and rearranging the items. That could lead to infinite recursion.
Overrides:
In this method call to the Arrange method of each child must be made.
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Disposes the managed resources.
protected override void DisposeManagedResources()
Overrides:
Gets the context, associated with a drag operation.
Initializes the fields.
protected override void InitializeFields()
Overrides:
Measures the space required by the RadElement Used by the layout system.
protected override SizeF MeasureOverride(SizeF availableSize)
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)
Returns:The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides:
In this method call to the Measure method of each child must be made.
Raises the event.
protected override void OnMouseDown(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Overrides:
Raises the event.
protected override void OnMouseUp(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Overrides:
Fires the PanGesture event.
protected override void OnPanGesture(PanGestureEventArgs args)
The arguments for the PanGesture event.
Overrides:
Processes the column drop.
protected override void ProcessColumnDrop(Point dropLocation, GridViewColumn column)
The drop location.
columnGridViewColumnThe column.
Overrides:
Allows inheritors to provide custom logic when processing drop of group field.
protected override bool ProcessGroupFieldDropOverride(Point dropLocation, GroupFieldDragDropContext context)
The drop location.
contextGroupFieldDragDropContextReturns:Overrides: