GroupPanelElement
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
public GroupPanelElement()
Fields
public static RadProperty FieldDragHintProperty
Properties
Gets or sets whether resizing is allowed.
public bool AllowResize { get; set; }
The allow resize.
Gets the event type(s) this listener needs to process.
public GridEventType DesiredEvents { get; }
Implements:
Gets the event process mode for this instance.
public GridEventProcessMode DesiredProcessMode { get; }
Implements:
Gets or sets the RadImageShape instance which describes the hint that indicates where an field will be dropped after a drag operation.
[Browsable(false)]
[VsbBrowsable(true)]
public RadImageShape FieldDragHint { get; set; }
Gets or sets the GridVisualElement that owns this view.
public RadGridViewElement GridViewElement { get; }
Implements:
Gets the header.
public LightVisualElement Header { get; }
The header.
Gets or sets the height of the max.
public int MaxHeight { get; set; }
The height of the max.
Gets the panel container.
public GroupPanelContainer PanelContainer { get; }
The panel container.
Gets the priority of the current instance.
public EventListenerPriority Priority { get; }
Implements:
Gets the scroll view.
public ScrollViewElement ScrollView { get; }
The scroll view.
Gets or sets an instance of IRadServiceProvider used by the control.
public IRadServiceProvider ServiceProvider { get; set; }
Gets or sets a value indicating whether the group panel will show scroll bars or it will expand to show all group headers.
public bool ShowScrollBars { get; set; }
Gets the size grip.
public GroupPanelSizeGripElement SizeGrip { get; }
The size grip.
Gets the GridViewInfo that this view represents.
public GridViewInfo ViewInfo { get; }
Implements:
Methods
Allows a listener to examine events queue and optionally to remove/add events.
public bool AnalyzeQueue(List<GridViewEvent> events)
True if the listener has actually modified the queue, false otherwise.
Implements:
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:
Uninitializes the associated instance of the GridViewTemplate in ColumnChooserElement.
public void Detach()
Implements:
Disposes the managed resources.
protected override void DisposeManagedResources()
Overrides:
Retrieves currently registered RadService by the specified type.
public T GetService<T>() where T : RadService
T
Implements:
Initializes ColumnChooserElement with new instance of the GridViewTemplate.
public void Initialize(RadGridViewElement rootElement, GridViewInfo viewInfo)
An instance of the RadGridViewElement.
viewInfoGridViewInfoImplements:
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.
Fires the PanGesture event.
protected override void OnPanGesture(PanGestureEventArgs args)
The arguments for the PanGesture event.
Overrides:
Allows additional processing of an event that has been just dispatched.
public GridViewEventResult PostProcessEvent(GridViewEvent eventData)
Implements:
Allows previewing of an event that is about to be dispatched.
public GridViewEventResult PreProcessEvent(GridViewEvent eventData)
Implements:
Core logic when a drag-drop is performed over this element. Allows inheritors to provide their own implementations.
protected override void ProcessDragDrop(Point dropLocation, ISupportDrag dragObject)
Overrides:
Determines whether the element may be treated as a drop target during drag-and-drop operation.
protected override bool ProcessDragOver(Point currentMouseLocation, ISupportDrag dragObject)
Overrides:
Core entry point for receiving and processing an event.
public GridViewEventResult ProcessEvent(GridViewEvent eventData)
Implements:
Registers the specified service.
public void RegisterService(RadService service)
An instance of type derived from RadService.
Implements:
Gets a value indicating, whether a child will be arranged during the ArrangeOverride.
protected override bool ShouldArrangeChild(RadElement child)
The child.
Returns:Whether the child will be arranged in ArrangeOverride.
Overrides:
Gets a value indicating, whether a child will be measured during the MeasureOverride.
protected override bool ShouldMeasureChild(RadElement child)
The child.
Returns:Whether the child will be measured in MeasureOverride.
Overrides:
Updates the child elements collection of the GroupPanelElement.
public void UpdateView()
Implements:
Updates the visibility.
public void UpdateVisibility()