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
public RadPageViewOutlookElement()
Fields
public static Bitmap AssociatedButtonDefaultImage
public static RadProperty ShowFewerButtonsImageProperty
public static RadProperty ShowMoreButtonsImageProperty
Properties
Gets the element which represents the grip which can be dragged to adjust the count of visible items in the stack.
[Browsable(false)]
public OutlookViewOverflowGrip OverflowGrip { get; }
Gets the element that represents the container which holds the buttons shown when items in the stack are hidden by using the overflow grip.
[Browsable(false)]
public OverflowItemsContainer OverflowItemsContainer { get; }
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.
[TypeConverter(typeof(ImageTypeConverter))]
public Image ShowFewerButtonsImage { get; set; }
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.
[TypeConverter(typeof(ImageTypeConverter))]
public Image ShowMoreButtonsImage { get; set; }
Methods
Arranges the page view items and returns the available rectangle where the content area should be positioned.
protected override RectangleF ArrangeItems(RectangleF clientRect)
A RectangleF representing the available content area.
Overrides:
Makes an item visible. The item will appear as checked in the overflow menu.
public virtual void CheckItem(RadPageViewOutlookItem item)
The item to make visible.
Creates the child elements that compose this page view element.
protected override void CreateChildElements()
Overrides:
Creates a new RadPageViewItem instance for this element.
protected override RadPageViewItem CreateItem()
A new RadPageViewItem instance.
Overrides:
Releases the managed resources used by this element.
protected override void DisposeManagedResources()
Overrides:
Drags the overflow grip down to hide the first possible visible item.
Drags the overflow grip up to show the first possible hidden item.
protected override RectangleF GetContentAreaRectangle(RectangleF clientRect)
Overrides:
This method returns the count of the items which are currently visible to the user.
Gets an array containing the items that are currently hidden by using the overflow grip.
Gets an array containing the items that are currently unchecked by using the overflow menu.
Hides a given amount of items from the visible items in the RadPageViewOutlookElement starting from the bottom part of the stack.
Initializes the default field values for this element.
protected override void InitializeFields()
Overrides:
protected override bool IsChildElementExternal(RadElement element)
Overrides:
protected virtual void OnItemChecked(object sender, OutlookViewItemEventArgs args)
protected virtual void OnItemCollapsed(object sender, OutlookViewItemEventArgs args)
protected virtual void OnItemShown(object sender, OutlookViewItemEventArgs args)
protected virtual void OnItemUnchecked(object sender, OutlookViewItemEventArgs args)
Called when the element is loaded and ready for use.
protected override void OnLoaded()
Overrides:
Performs the core logic for removing an item from the collection.
protected override void RemoveItemCore(RadPageViewItem item)
The item to remove.
Overrides:
Performs the core logic of updating property value.
protected override ValueUpdateResult SetValueCore(RadPropertyValue propVal, object propModifier, object newValue, ValueSource source)
The property value structure, holding property information.
propModifierobjectAdditional modifier, like IPropertySetting
newValueobjectThe actual new value to be set, valid for Local and DefaultValue sources.
sourceValueSourceSpecifies the source of the provided new value.
Returns:The result of the operation.
Overrides:
Shows a given amount of items from the hidden items in the RadPageViewOutlookElement starting from the bottom part of the stack.
Makes an item invisible. The item will appear as unchecked in the overflow menu.
public virtual void UncheckItem(RadPageViewOutlookItem item)
The item to make invisible.
Events
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.
public event EventHandler ItemAssociatedButtonClicked
Fires when an item is checked in the overflow drop-down menu of the RadPageViewOutlookElement.
public event OutlookViewItemEventHandler ItemChecked
Fires when an item is collapsed in the RadPageViewOutlookElement.
public event OutlookViewItemEventHandler ItemCollapsed
Fires when an item is shown in the RadPageViewOutlookElement.
public event OutlookViewItemEventHandler ItemShown
Fires when an item is unchecked in the overflow drop-down menu of the RadPageViewOutlookElement.
public event OutlookViewItemEventHandler ItemUnchecked