ClassRadPageViewOutlookElement
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadPageViewOutlookElement : RadPageViewStackElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadPageViewElementBaseRadPageViewElementRadPageViewStackElementRadPageViewOutlookElement
Implements:
Inherited Members
Constructors
RadPageViewOutlookElement()
Declaration
public RadPageViewOutlookElement()
Fields
ShowFewerButtonsImageProperty
Declaration
public static RadProperty ShowFewerButtonsImageProperty
Field Value
ShowMoreButtonsImageProperty
Declaration
public static RadProperty ShowMoreButtonsImageProperty
Field Value
Properties
OverflowGrip
Gets the element which represents the grip which can be dragged to adjust the count of visible items in the stack.
Declaration
[Browsable(false)]
public OutlookViewOverflowGrip OverflowGrip { get; }
Property Value
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
[Browsable(false)]
public OverflowItemsContainer OverflowItemsContainer { get; }
Property Value
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
[TypeConverter(typeof(ImageTypeConverter))]
public Image ShowFewerButtonsImage { get; set; }
Property Value
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
[TypeConverter(typeof(ImageTypeConverter))]
public Image ShowMoreButtonsImage { get; set; }
Property Value
Methods
ArrangeItems(RectangleF)
Arranges the page view items and returns the available rectangle where the content area should be positioned.
Declaration
protected override RectangleF ArrangeItems(RectangleF clientRect)
Parameters
clientRect
Returns
A RectangleF representing the available content area.
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
item
The item to make visible.
CreateChildElements()
Creates the child elements that compose this page view element.
Declaration
protected override void CreateChildElements()
Overrides
CreateItem()
Creates a new RadPageViewItem instance for this element.
Declaration
protected override RadPageViewItem CreateItem()
Returns
A new RadPageViewItem instance.
Overrides
DisposeManagedResources()
Releases the managed resources used by this element.
Declaration
protected override void DisposeManagedResources()
Overrides
DragGripDown()
Drags the overflow grip down to hide the first possible visible item.
Declaration
public bool DragGripDown()
Returns
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
True if the drag operation succeeds, otherwise false.
GetContentAreaRectangle(RectangleF)
Declaration
protected override RectangleF GetContentAreaRectangle(RectangleF clientRect)
Parameters
clientRect
Returns
Overrides
GetCurrentlyVisibleItemsCount()
This method returns the count of the items which are currently visible to the user.
GetHiddenItems()
Gets an array containing the items that are currently hidden by using the overflow grip.
Declaration
public RadPageViewOutlookItem[] GetHiddenItems()
Returns
GetNextVisibleItem()
Declaration
protected virtual RadPageViewOutlookItem GetNextVisibleItem()
Returns
GetUncheckedItems()
Gets an array containing the items that are currently unchecked by using the overflow menu.
Declaration
public RadPageViewOutlookItem[] GetUncheckedItems()
Returns
HideItems(int)
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
itemCount
The count of the items to be hidden.
InitializeFields()
Initializes the default field values for this element.
Declaration
protected override void InitializeFields()
Overrides
IsChildElementExternal(RadElement)
Declaration
protected override bool IsChildElementExternal(RadElement element)
Parameters
element
Returns
Overrides
OnItemChecked(object, OutlookViewItemEventArgs)
Declaration
protected virtual void OnItemChecked(object sender, OutlookViewItemEventArgs args)
Parameters
sender
args
OnItemCollapsed(object, OutlookViewItemEventArgs)
Declaration
protected virtual void OnItemCollapsed(object sender, OutlookViewItemEventArgs args)
Parameters
sender
args
OnItemShown(object, OutlookViewItemEventArgs)
Declaration
protected virtual void OnItemShown(object sender, OutlookViewItemEventArgs args)
Parameters
sender
args
OnItemUnchecked(object, OutlookViewItemEventArgs)
Declaration
protected virtual void OnItemUnchecked(object sender, OutlookViewItemEventArgs args)
Parameters
sender
args
OnLoaded()
Called when the element is loaded and ready for use.
Declaration
protected override void OnLoaded()
Overrides
RemoveItemCore(RadPageViewItem)
Performs the core logic for removing an item from the collection.
Declaration
protected override void RemoveItemCore(RadPageViewItem item)
Parameters
item
The item to remove.
Overrides
SetValueCore(RadPropertyValue, object, object, ValueSource)
Performs the core logic of updating property value.
Declaration
protected override ValueUpdateResult SetValueCore(RadPropertyValue propVal, object propModifier, object newValue, ValueSource source)
Parameters
propVal
The property value structure, holding property information.
propModifier
Additional modifier, like IPropertySetting
newValue
The actual new value to be set, valid for Local and DefaultValue sources.
source
Specifies the source of the provided new value.
Returns
The result of the operation.
Overrides
ShowItems(int)
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
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
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 Value
ItemChecked
Fires when an item is checked in the overflow drop-down menu of the RadPageViewOutlookElement.
Declaration
public event OutlookViewItemEventHandler ItemChecked
Event Value
ItemCollapsed
Fires when an item is collapsed in the RadPageViewOutlookElement.
Declaration
public event OutlookViewItemEventHandler ItemCollapsed
Event Value
ItemShown
Fires when an item is shown in the RadPageViewOutlookElement.
Declaration
public event OutlookViewItemEventHandler ItemShown
Event Value
ItemUnchecked
Fires when an item is unchecked in the overflow drop-down menu of the RadPageViewOutlookElement.
Declaration
public event OutlookViewItemEventHandler ItemUnchecked
Event Value