Class GroupPanelElement
Represent a group panel element in a RadGridViewElement.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GroupPanelElement : GridVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IGridView, IRadServiceProvider, IGridViewEventListener
Constructors
GroupPanelElement()
Declaration
public GroupPanelElement()
Fields
FieldDragHintProperty
Properties
AllowResize
Gets or sets whether resizing is allowed.
Declaration
public bool AllowResize { get; set; }
Property Value
|
System.Boolean
The allow resize. |
DesiredEvents
Gets the event type(s) this listener needs to process.
Declaration
public GridEventType DesiredEvents { get; }
Property Value
|
GridEventType
|
Implements
DesiredProcessMode
Gets the event process mode for this instance.
Declaration
public GridEventProcessMode DesiredProcessMode { get; }
Property Value
|
GridEventProcessMode
|
Implements
FieldDragHint
Gets or sets the RadImageShape instance which describes the hint that indicates where an field will be dropped after a drag operation.
Declaration
[VsbBrowsable(true)]
public RadImageShape FieldDragHint { get; set; }
Property Value
|
RadImageShape
|
GridViewElement
Gets or sets the GridVisualElement that owns this view.
Declaration
public RadGridViewElement GridViewElement { get; }
Property Value
|
RadGridViewElement
|
Implements
Header
Gets the header.
Declaration
public LightVisualElement Header { get; }
Property Value
|
LightVisualElement
The header. |
MaxHeight
Gets or sets the height of the max.
Declaration
public int MaxHeight { get; set; }
Property Value
|
System.Int32
The height of the max. |
PanelContainer
Gets the panel container.
Declaration
public GroupPanelContainer PanelContainer { get; }
Property Value
|
GroupPanelContainer
The panel container. |
Priority
Gets the priority of the current instance.
Declaration
public EventListenerPriority Priority { get; }
Property Value
|
EventListenerPriority
|
Implements
ScrollView
Gets the scroll view.
Declaration
public ScrollViewElement ScrollView { get; }
Property Value
|
ScrollViewElement
The scroll view. |
ServiceProvider
Gets or sets an instance of IRadServiceProvider used by the control.
Declaration
public IRadServiceProvider ServiceProvider { get; set; }
Property Value
|
IRadServiceProvider
|
ShowScrollBars
Gets or sets a value indicating whether the group panel will show scroll bars or it will expand to show all group headers.
Declaration
public bool ShowScrollBars { get; set; }
Property Value
|
System.Boolean
|
SizeGrip
Gets the size grip.
Declaration
public GroupPanelSizeGripElement SizeGrip { get; }
Property Value
|
GroupPanelSizeGripElement
The size grip. |
ViewInfo
Gets the GridViewInfo that this view represents.
Declaration
public GridViewInfo ViewInfo { get; }
Property Value
|
GridViewInfo
|
Implements
Methods
AnalyzeQueue(List<GridViewEvent>)
Declaration
public bool AnalyzeQueue(List<GridViewEvent> events)
Parameters
|
System.Collections.Generic.List<GridViewEvent>
events
|
Returns
|
System.Boolean
|
Implements
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
Detach()
Uninitializes the associated instance of the GridViewTemplate in ColumnChooserElement.
Declaration
public void Detach()
Implements
DisposeManagedResources()
Disposes the managed resources.
Declaration
protected override void DisposeManagedResources()
Overrides
GetService<T>()
Retrieves currently registered RadService by the specified type.
Declaration
public T GetService<T>()
where T : RadService
Returns
|
T
|
Type Parameters
|
T
A type derived from RadService |
Implements
Initialize(RadGridViewElement, GridViewInfo)
Initializes ColumnChooserElement with new instance of the GridViewTemplate.
Declaration
public void Initialize(RadGridViewElement rootElement, GridViewInfo viewInfo)
Parameters
|
RadGridViewElement
rootElement
An instance of the RadGridViewElement. |
|
GridViewInfo
viewInfo
|
Implements
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.
OnPanGesture(PanGestureEventArgs)
Fires the PanGesture event.
Declaration
protected override void OnPanGesture(PanGestureEventArgs args)
Parameters
|
PanGestureEventArgs
args
The arguments for the PanGesture event. |
Overrides
PostProcessEvent(GridViewEvent)
Allows additional processing of an event that has been just dispatched.
Declaration
public GridViewEventResult PostProcessEvent(GridViewEvent eventData)
Parameters
|
GridViewEvent
eventData
|
Returns
|
GridViewEventResult
|
Implements
PreProcessEvent(GridViewEvent)
Allows previewing of an event that is about to be dispatched.
Declaration
public GridViewEventResult PreProcessEvent(GridViewEvent eventData)
Parameters
|
GridViewEvent
eventData
|
Returns
|
GridViewEventResult
|
Implements
ProcessDragDrop(Point, ISupportDrag)
Core logic when a drag-drop is performed over this element. Allows inheritors to provide their own implementations.
Declaration
protected override void ProcessDragDrop(Point dropLocation, ISupportDrag dragObject)
Parameters
|
System.Drawing.Point
dropLocation
|
|
ISupportDrag
dragObject
|
Overrides
ProcessDragOver(Point, ISupportDrag)
Determines whether the element may be treated as a drop target during drag-and-drop operation.
Declaration
protected override bool ProcessDragOver(Point currentMouseLocation, ISupportDrag dragObject)
Parameters
|
System.Drawing.Point
currentMouseLocation
|
|
ISupportDrag
dragObject
|
Returns
|
System.Boolean
|
Overrides
ProcessEvent(GridViewEvent)
Core entry point for receiving and processing an event.
Declaration
public GridViewEventResult ProcessEvent(GridViewEvent eventData)
Parameters
|
GridViewEvent
eventData
|
Returns
|
GridViewEventResult
|
Implements
RegisterService(RadService)
Registers the specified service.
Declaration
public void RegisterService(RadService service)
Parameters
|
RadService
service
An instance of type derived from RadService. |
Implements
ShouldArrangeChild(RadElement)
Gets a value indicating, whether a child will be arranged during the ArrangeOverride.
Declaration
protected override bool ShouldArrangeChild(RadElement child)
Parameters
|
RadElement
child
The child. |
Returns
|
System.Boolean
Whether the child will be arranged in ArrangeOverride. |
Overrides
ShouldMeasureChild(RadElement)
Gets a value indicating, whether a child will be measured during the MeasureOverride.
Declaration
protected override bool ShouldMeasureChild(RadElement child)
Parameters
|
RadElement
child
The child. |
Returns
|
System.Boolean
Whether the child will be measured in MeasureOverride. |
Overrides
UpdateView()
Updates the child elements collection of the GroupPanelElement.
Declaration
public void UpdateView()
Implements
UpdateVisibility()
Updates the visibility.
Declaration
public void UpdateVisibility()