Class GroupPanelElement
Represent a group panel element in a Rad
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, 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. 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 Rad
Declaration
[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
Light The header. |
MaxHeight
Gets or sets the height of the max.
Declaration
public int MaxHeight { get; set; }
Property Value
System. The height of the max. |
PanelContainer
Gets the panel container.
Declaration
public GroupPanelContainer PanelContainer { get; }
Property Value
Group 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
Scroll The scroll view. |
ServiceProvider
Gets or sets an instance of IRad
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.
Declaration
public bool ShowScrollBars { get; set; }
Property Value
System.
|
SizeGrip
Gets the size grip.
Declaration
public GroupPanelSizeGripElement SizeGrip { get; }
Property Value
Group The size grip. |
ViewInfo
Gets the GridViewInfo that this view represents.
Declaration
public GridViewInfo ViewInfo { get; }
Property Value
Implements
Methods
AnalyzeQueue(List<GridViewEvent>)
Declaration
public bool AnalyzeQueue(List<GridViewEvent> events)
Parameters
System.
|
Returns
System.
|
Implements
ArrangeOverride(SizeF)
Arranges the Rad
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System. The size that is available for element. |
Returns
System. 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 Grid
Declaration
public void Detach()
Implements
DisposeManagedResources()
Disposes the managed resources.
Declaration
protected override void DisposeManagedResources()
Overrides
GetService<T>()
Retrieves currently registered Rad
Declaration
public T GetService<T>()
where T : RadService
Returns
T
|
Type Parameters
T
A type derived from Rad |
Implements
Initialize(RadGridViewElement, GridViewInfo)
Initializes Column
Declaration
public void Initialize(RadGridViewElement rootElement, GridViewInfo viewInfo)
Parameters
Rad An instance of the Rad |
Grid
|
Implements
InitializeFields()
Initializes the fields.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the space required by the Rad
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System. The size that is available to the Rad |
Returns
System. 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
Pan 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
Grid
|
Returns
Implements
PreProcessEvent(GridViewEvent)
Allows previewing of an event that is about to be dispatched.
Declaration
public GridViewEventResult PreProcessEvent(GridViewEvent eventData)
Parameters
Grid
|
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
System.
|
ISupport
|
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.
|
ISupport
|
Returns
System.
|
Overrides
ProcessEvent(GridViewEvent)
Core entry point for receiving and processing an event.
Declaration
public GridViewEventResult ProcessEvent(GridViewEvent eventData)
Parameters
Grid
|
Returns
Implements
RegisterService(RadService)
Registers the specified service.
Declaration
public void RegisterService(RadService service)
Parameters
Rad An instance of type derived from Rad |
Implements
ShouldArrangeChild(RadElement)
Gets a value indicating, whether a child will be arranged during the ArrangeOverride.
Declaration
protected override bool ShouldArrangeChild(RadElement child)
Parameters
Rad The child. |
Returns
System. 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
Rad The child. |
Returns
System. Whether the child will be measured in MeasureOverride. |
Overrides
UpdateView()
Updates the child elements collection of the Group
Declaration
public void UpdateView()
Implements
UpdateVisibility()
Updates the visibility.
Declaration
public void UpdateVisibility()