Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadPageViewStripElement : RadPageViewElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadPageViewElementBaseRadPageViewElementRadPageViewStripElement...
Derived Classes:
Implements:
Inherited Members
Constructors
public RadPageViewStripElement()
Fields
public static RadProperty AnimatedStripScrollingProperty
public static RadProperty ItemAlignmentProperty
public static RadProperty ItemFitModeProperty
public static RadProperty NewItemVisibilityProperty
public static RadProperty ShowItemPinButtonProperty
public static RadProperty StripAlignmentProperty
public static RadProperty StripButtonsProperty
public static RadProperty StripScrollingAnimationProperty
Properties
Determines whether strip scrolling will be animated.
public virtual bool AnimatedStripScrolling { get; set; }
Determines the alignment of items within the strip layout.
public StripViewItemAlignment ItemAlignment { get; set; }
Gets the container that holds item layout and strip buttons panel.
[Browsable(false)]
public StripViewItemContainer ItemContainer { get; }
Determines the fit mode to be applied when measuring child items.
public StripViewItemFitMode ItemFitMode { get; set; }
Gets the RadElement instance that serves as the parent container for all page view items.
protected override RadElement ItemsParent { get; }
Overrides:
public virtual MultiLineItemFitMode MultiLineItemFitMode { get; set; }
Gets the RadPageViewStripItem which stands for adding new pages on click.
[Browsable(false)]
public RadPageViewStripItem NewItem { get; }
Gets or sets the visibility of the internal NewItem.
public virtual StripViewNewItemVisibility NewItemVisibility { get; set; }
Gets or sets the item of the page which is opened for preview on the far side of the regular items.
[Browsable(false)]
public virtual RadPageViewItem PreviewItem { get; set; }
Determines if the PinButton will be displayed in each item, allowing that item to be pinned.
public virtual bool ShowItemPinButton { get; set; }
Gets or sets the alignment of item strip within the view.
public virtual StripViewAlignment StripAlignment { get; set; }
Determines scroll buttons' visibility.
public virtual StripViewButtons StripButtons { get; set; }
Gets or sets the easing type of the strip scroll animation.
public virtual RadEasingType StripScrollingAnimation { get; set; }
Methods
Performs the core logic for adding an item to the collection.
protected override void AddItemCore(RadPageViewItem item)
The item to add.
Overrides:
Arranges the page view items and returns the available rectangle where the content area should be positioned.
protected override RectangleF ArrangeItems(RectangleF itemsRect)
The rectangle available for arranging items.
Returns:A RectangleF representing the available content area.
Overrides:
protected override bool CanDropOverItem(RadPageViewItem dragItem, RadPageViewItem hitItem)
Overrides:
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:
protected override void EndItemDrag(RadPageViewItem item)
Overrides:
Performs the core logic for ensuring that the specified item is visible.
protected override bool EnsureItemVisibleCore(RadPageViewItem item)
The item to make visible.
Returns:true if the item was successfully made visible; otherwise, false.
Overrides:
Gets the default (automatic) item orientation, which may depend on implementation-specific settings.
protected override PageViewContentOrientation GetAutomaticItemOrientation(bool content)
true to retrieve content orientation; false to get orientation for border and fill.
Returns:The automatic PageViewContentOrientation for items.
Overrides:
Gets the rectangular area where page view items are displayed within this element.
public override RectangleF GetItemsRect()
A RectangleF representing the items area.
Overrides:
protected override ArrowDirection GetPeekPopupArrowDirection()
Overrides:
public virtual StripViewButtons HitTestButtons(Point controlClient)
protected override bool IsChildElementExternal(RadElement element)
Overrides:
protected override void OnItemClick(RadPageViewItem sender, EventArgs e)
Overrides:
protected override void OnItemMouseDown(RadPageViewItem sender, MouseEventArgs e)
Overrides:
protected virtual void OnNewItemRequested()
Handles property change events by invalidating the fill cache and invoking the base class property change handler.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Event arguments containing information about the property that changed.
Overrides:
Sets the specified RadPageViewItem as the currently selected item.
protected override void SetSelectedItem(RadPageViewItem item)
The item to select, or null to clear the selection.
Overrides:
protected override void StartItemDrag(RadPageViewItem item)
Overrides:
protected override void UpdateItemOrientation(IEnumerable items)
Overrides: