ClassGroupPanelElement
Represent a group panel element in a RadGridViewElement.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GroupPanelElement : GridVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IGridView, IRadServiceProvider, IGridViewEventListener
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementGridVisualElementGroupPanelElement
Implements:
Inherited Members
Constructors
GroupPanelElement()
Declaration
public GroupPanelElement()
Fields
FieldDragHintProperty
Declaration
public static RadProperty FieldDragHintProperty
Field Value
Properties
AllowResize
Gets or sets whether resizing is allowed.
Declaration
public bool AllowResize { get; set; }
Property Value
The allow resize.
DesiredEvents
Gets the event type(s) this listener needs to process.
Declaration
public GridEventType DesiredEvents { get; }
Property Value
Implements
DesiredProcessMode
Gets the event process mode for this instance.
Declaration
public GridEventProcessMode DesiredProcessMode { get; }
Property Value
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
[Browsable(false)]
[VsbBrowsable(true)]
public RadImageShape FieldDragHint { get; set; }
Property Value
GridViewElement
Gets or sets the GridVisualElement that owns this view.
Declaration
public RadGridViewElement GridViewElement { get; }
Property Value
Implements
Header
Gets the header.
Declaration
public LightVisualElement Header { get; }
Property Value
The header.
MaxHeight
Gets or sets the height of the max.
Declaration
public int MaxHeight { get; set; }
Property Value
The height of the max.
PanelContainer
Gets the panel container.
Declaration
public GroupPanelContainer PanelContainer { get; }
Property Value
The panel container.
Priority
Gets the priority of the current instance.
Declaration
public EventListenerPriority Priority { get; }
Property Value
Implements
ScrollView
Gets the scroll view.
Declaration
public ScrollViewElement ScrollView { get; }
Property Value
The scroll view.
ServiceProvider
Gets or sets an instance of IRadServiceProvider used by the control.
Declaration
public IRadServiceProvider ServiceProvider { get; set; }
Property Value
ShowScrollBars
Gets or sets a value indicating whether the group panel will show scroll bars or it will expand to show all group headers.
SizeGrip
Gets the size grip.
Declaration
public GroupPanelSizeGripElement SizeGrip { get; }
Property Value
The size grip.
ViewInfo
Gets the GridViewInfo that this view represents.
Declaration
public GridViewInfo ViewInfo { get; }
Property Value
Implements
Methods
AnalyzeQueue(List<GridViewEvent>)
Allows a listener to examine events queue and optionally to remove/add events.
Declaration
public bool AnalyzeQueue(List<GridViewEvent> events)
Parameters
events
List<GridViewEvent>
Returns
True if the listener has actually modified the queue, false otherwise.
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
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
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
Implements
Initialize(RadGridViewElement, GridViewInfo)
Initializes ColumnChooserElement with new instance of the GridViewTemplate.
Declaration
public void Initialize(RadGridViewElement rootElement, GridViewInfo viewInfo)
Parameters
rootElement
An instance of the RadGridViewElement.
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
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.
OnPanGesture(PanGestureEventArgs)
Fires the PanGesture event.
Declaration
protected override void OnPanGesture(PanGestureEventArgs args)
Parameters
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
eventData
Returns
Implements
PreProcessEvent(GridViewEvent)
Allows previewing of an event that is about to be dispatched.
Declaration
public GridViewEventResult PreProcessEvent(GridViewEvent eventData)
Parameters
eventData
Returns
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
dropLocation
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
currentMouseLocation
dragObject
Returns
Overrides
ProcessEvent(GridViewEvent)
Core entry point for receiving and processing an event.
Declaration
public GridViewEventResult ProcessEvent(GridViewEvent eventData)
Parameters
eventData
Returns
Implements
RegisterService(RadService)
Registers the specified service.
Declaration
public void RegisterService(RadService service)
Parameters
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
child
The child.
Returns
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
child
The child.
Returns
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()