Class RadPageViewOutlookElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadPageViewOutlookElement : RadPageViewStackElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadPageViewOutlookElement()
Declaration
public RadPageViewOutlookElement()
Fields
AssociatedButtonDefaultImage
Declaration
public static Bitmap AssociatedButtonDefaultImage
Field Value
|
System.Drawing.Bitmap
|
ShowFewerButtonsImageProperty
ShowMoreButtonsImageProperty
Properties
OverflowGrip
Gets the element which represents the grip which can be dragged to adjust the count of visible items in the stack.
Declaration
public OutlookViewOverflowGrip OverflowGrip { get; }
Property Value
|
OutlookViewOverflowGrip
|
OverflowItemsContainer
Gets the element that represents the container which holds the buttons shown when items in the stack are hidden by using the overflow grip.
Declaration
public OverflowItemsContainer OverflowItemsContainer { get; }
Property Value
|
OverflowItemsContainer
|
ShowFewerButtonsImage
Gets or sets the image that is shown on the item in the overflow drop-down menu that is used to show fewer buttons in the control.
Declaration
public Image ShowFewerButtonsImage { get; set; }
Property Value
|
System.Drawing.Image
|
ShowMoreButtonsImage
Gets or sets the image that is shown on the item in the overflow drop-down menu that is used to show more buttons in the control.
Declaration
public Image ShowMoreButtonsImage { get; set; }
Property Value
|
System.Drawing.Image
|
Methods
ArrangeItems(RectangleF)
Declaration
protected override RectangleF ArrangeItems(RectangleF clientRect)
Parameters
|
System.Drawing.RectangleF
clientRect
|
Returns
|
System.Drawing.RectangleF
|
Overrides
CheckItem(RadPageViewOutlookItem)
Makes an item visible. The item will appear as checked in the overflow menu.
Declaration
public virtual void CheckItem(RadPageViewOutlookItem item)
Parameters
|
RadPageViewOutlookItem
item
The item to make visible. |
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateItem()
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
DragGripDown()
Drags the overflow grip down to hide the first possible visible item.
Declaration
public bool DragGripDown()
Returns
|
System.Boolean
True if the drag operation succeeds, otherwise false. |
DragGripUp()
Drags the overflow grip up to show the first possible hidden item.
Declaration
public bool DragGripUp()
Returns
|
System.Boolean
True if the drag operation succeeds, otherwise false. |
GetContentAreaRectangle(RectangleF)
Declaration
protected override RectangleF GetContentAreaRectangle(RectangleF clientRect)
Parameters
|
System.Drawing.RectangleF
clientRect
|
Returns
|
System.Drawing.RectangleF
|
Overrides
GetCurrentlyVisibleItemsCount()
This method returns the count of the items which are currently visible to the user.
Declaration
protected virtual int GetCurrentlyVisibleItemsCount()
Returns
|
System.Int32
|
GetHiddenItems()
Gets an array containing the items that are currently hidden by using the overflow grip.
Declaration
public RadPageViewOutlookItem[] GetHiddenItems()
Returns
|
RadPageViewOutlookItem[]
|
GetNextVisibleItem()
Declaration
protected virtual RadPageViewOutlookItem GetNextVisibleItem()
Returns
|
RadPageViewOutlookItem
|
GetUncheckedItems()
Gets an array containing the items that are currently unchecked by using the overflow menu.
Declaration
public RadPageViewOutlookItem[] GetUncheckedItems()
Returns
|
RadPageViewOutlookItem[]
|
HideItems(Int32)
Hides a given amount of items from the visible items in the RadPageViewOutlookElement starting from the bottom part of the stack.
Declaration
public void HideItems(int itemCount)
Parameters
|
System.Int32
itemCount
The count of the items to be hidden. |
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
IsChildElementExternal(RadElement)
Declaration
protected override bool IsChildElementExternal(RadElement element)
Parameters
|
RadElement
element
|
Returns
|
System.Boolean
|
Overrides
MeasureItems(SizeF)
Declaration
protected override SizeF MeasureItems(SizeF availableSize)
Parameters
|
System.Drawing.SizeF
availableSize
|
Returns
|
System.Drawing.SizeF
|
Overrides
OnItemAssociatedButtonClick(Object, EventArgs)
Declaration
protected virtual void OnItemAssociatedButtonClick(object sender, EventArgs args)
Parameters
|
System.Object
sender
|
|
System.EventArgs
args
|
OnItemChecked(Object, OutlookViewItemEventArgs)
Declaration
protected virtual void OnItemChecked(object sender, OutlookViewItemEventArgs args)
Parameters
|
System.Object
sender
|
|
OutlookViewItemEventArgs
args
|
OnItemCollapsed(Object, OutlookViewItemEventArgs)
Declaration
protected virtual void OnItemCollapsed(object sender, OutlookViewItemEventArgs args)
Parameters
|
System.Object
sender
|
|
OutlookViewItemEventArgs
args
|
OnItemShown(Object, OutlookViewItemEventArgs)
Declaration
protected virtual void OnItemShown(object sender, OutlookViewItemEventArgs args)
Parameters
|
System.Object
sender
|
|
OutlookViewItemEventArgs
args
|
OnItemUnchecked(Object, OutlookViewItemEventArgs)
Declaration
protected virtual void OnItemUnchecked(object sender, OutlookViewItemEventArgs args)
Parameters
|
System.Object
sender
|
|
OutlookViewItemEventArgs
args
|
OnLoaded()
RemoveItemCore(RadPageViewItem)
Declaration
protected override void RemoveItemCore(RadPageViewItem item)
Parameters
|
RadPageViewItem
item
|
Overrides
SetValueCore(RadPropertyValue, Object, Object, ValueSource)
Declaration
protected override ValueUpdateResult SetValueCore(RadPropertyValue propVal, object propModifier, object newValue, ValueSource source)
Parameters
|
RadPropertyValue
propVal
|
|
System.Object
propModifier
|
|
System.Object
newValue
|
|
ValueSource
source
|
Returns
|
ValueUpdateResult
|
Overrides
ShowItems(Int32)
Shows a given amount of items from the hidden items in the RadPageViewOutlookElement starting from the bottom part of the stack.
Declaration
public void ShowItems(int itemCount)
Parameters
|
System.Int32
itemCount
The count of the items to be shown. |
UncheckItem(RadPageViewOutlookItem)
Makes an item invisible. The item will appear as unchecked in the overflow menu.
Declaration
public virtual void UncheckItem(RadPageViewOutlookItem item)
Parameters
|
RadPageViewOutlookItem
item
The item to make invisible. |
Events
ItemAssociatedButtonClicked
Fires when the user clicks on a button associated with a RadPageViewItem instance. This buttons is shown when the item is collapsed by using the overflow grip.
Declaration
public event EventHandler ItemAssociatedButtonClicked
Event Type
|
System.EventHandler
|
ItemChecked
Fires when an item is checked in the overflow drop-down menu of the RadPageViewOutlookElement.
Declaration
public event OutlookViewItemEventHandler ItemChecked
Event Type
|
OutlookViewItemEventHandler
|
ItemCollapsed
Fires when an item is collapsed in the RadPageViewOutlookElement.
Declaration
public event OutlookViewItemEventHandler ItemCollapsed
Event Type
|
OutlookViewItemEventHandler
|
ItemShown
Fires when an item is shown in the RadPageViewOutlookElement.
Declaration
public event OutlookViewItemEventHandler ItemShown
Event Type
|
OutlookViewItemEventHandler
|
ItemUnchecked
Fires when an item is unchecked in the overflow drop-down menu of the RadPageViewOutlookElement.
Declaration
public event OutlookViewItemEventHandler ItemUnchecked
Event Type
|
OutlookViewItemEventHandler
|