ClassGroupFieldElement
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
GroupFieldElement(TemplateGroupsElement, GroupDescriptor, SortDescriptor)
Initializes a new instance of the GridGroupByField class.
Declaration
public GroupFieldElement(TemplateGroupsElement template, GroupDescriptor groupDescription, SortDescriptor sortDescription)
Parameters
template
An instance of TemplateGroupsElement.
groupDescription
An instance of GroupDescriptor.
sortDescription
An instance of the SortDescriptor.
Properties
Arrow
Gets the arrow.
Declaration
public ArrowPrimitive Arrow { get; }
Property Value
The arrow.
Column
Gets the column.
Declaration
public GridViewColumn Column { get; }
Property Value
The column.
RemoveButton
Gets the remove button.
Declaration
public RadButtonElement RemoveButton { get; }
Property Value
The remove button.
SortDescription
Gets the associated instance of type SortDescription
Declaration
public SortDescriptor SortDescription { get; }
Property Value
Methods
ArrangeOverride(SizeF)
Arranges the RadElement to its final location. The element must call the Arrange method of each of its children.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
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
Remarks
In this method call to the Arrange method of each child must be made.
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
DisposeManagedResources()
Disposes the managed resources.
Declaration
protected override void DisposeManagedResources()
Overrides
GetDragContextCore()
Gets the context, associated with a drag operation.
Declaration
protected override object GetDragContextCore()
Returns
Overrides
InitializeFields()
Initializes the fields.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the space required by the RadElement Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
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
Remarks
In this method call to the Measure method of each child must be made.
OnMouseDown(MouseEventArgs)
Raises the event.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
e
The MouseEventArgs instance containing the event data.
Overrides
OnMouseUp(MouseEventArgs)
Raises the event.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
e
The MouseEventArgs instance containing the event data.
Overrides
OnPanGesture(PanGestureEventArgs)
Fires the PanGesture event.
Declaration
protected override void OnPanGesture(PanGestureEventArgs args)
Parameters
args
The arguments for the PanGesture event.
Overrides
ProcessColumnDrop(Point, GridViewColumn)
Processes the column drop.
Declaration
protected override void ProcessColumnDrop(Point dropLocation, GridViewColumn column)
Parameters
dropLocation
The drop location.
column
The column.
Overrides
ProcessGroupFieldDropOverride(Point, GroupFieldDragDropContext)
Allows inheritors to provide custom logic when processing drop of group field.
Declaration
protected override bool ProcessGroupFieldDropOverride(Point dropLocation, GroupFieldDragDropContext context)
Parameters
dropLocation
The drop location.
context
Returns
Overrides