Class GroupFieldElement
Represent a group field element in a GroupElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GroupFieldElement : GridGroupVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
GroupFieldElement(TemplateGroupsElement, GroupDescriptor, SortDescriptor)
Initializes a new instance of the GridGroupByField class.
Declaration
public GroupFieldElement(TemplateGroupsElement template, GroupDescriptor groupDescription, SortDescriptor sortDescription)
Parameters
TemplateGroupsElement
template
An instance of TemplateGroupsElement. |
GroupDescriptor
groupDescription
An instance of GroupDescriptor. |
SortDescriptor
sortDescription
An instance of the SortDescriptor. |
Properties
Arrow
Gets the arrow.
Declaration
public ArrowPrimitive Arrow { get; }
Property Value
ArrowPrimitive
The arrow. |
Column
Gets the column.
Declaration
public GridViewColumn Column { get; }
Property Value
GridViewColumn
The column. |
RemoveButton
Gets the remove button.
Declaration
public RadButtonElement RemoveButton { get; }
Property Value
RadButtonElement
The remove button. |
SortDescription
Gets the associated instance of type SortDescription
Declaration
public SortDescriptor SortDescription { get; }
Property Value
SortDescriptor
|
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
System.Drawing.SizeF
finalSize
The size that is available for element. |
Returns
System.Drawing.SizeF
The rectangle occupied by the element. Usually |
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
System.Object
|
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
System.Drawing.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
System.Drawing.SizeF
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 MouseDown event.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnMouseUp(MouseEventArgs)
Raises the MouseUp event.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnPanGesture(PanGestureEventArgs)
Fires the PanGesture event.
Declaration
protected override void OnPanGesture(PanGestureEventArgs args)
Parameters
PanGestureEventArgs
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
System.Drawing.Point
dropLocation
The drop location. |
GridViewColumn
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
System.Drawing.Point
dropLocation
The drop location. |
GroupFieldDragDropContext
context
|
Returns
System.Boolean
|