Class RadPageViewElement
Encapsulates the UI representation of a RadPageView instance. Different view modes are represented by different implementations of this abstract class.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public abstract class RadPageViewElement : RadPageViewElementBase, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadPageViewElement()
Fields
EnsureSelectedItemVisibleProperty
Identifies the EnsureSelectedItemVisible dependency property.
Declaration
public static RadProperty EnsureSelectedItemVisibleProperty
Field Value
RadProperty
|
ItemBorderAndFillOrientationProperty
Identifies the ItemBorderAndFillOrientation dependency property.
Declaration
public static RadProperty ItemBorderAndFillOrientationProperty
Field Value
RadProperty
|
ItemContentOrientationProperty
Identifies the ItemContentOrientation dependency property.
Declaration
public static RadProperty ItemContentOrientationProperty
Field Value
RadProperty
|
ItemDragHintProperty
Identifies the ItemDragHint dependency property.
Declaration
public static RadProperty ItemDragHintProperty
Field Value
RadProperty
|
ItemDragModeProperty
Identifies the ItemDragMode dependency property.
Declaration
public static RadProperty ItemDragModeProperty
Field Value
RadProperty
|
ItemSizeModeProperty
Identifies the ItemSizeMode dependency property.
Declaration
public static RadProperty ItemSizeModeProperty
Field Value
RadProperty
|
ItemSpacingProperty
Identifies the ItemSpacing dependency property.
Declaration
public static RadProperty ItemSpacingProperty
Field Value
RadProperty
|
ShowItemCloseButtonProperty
Identifies the ShowItemCloseButton dependency property.
Declaration
public static RadProperty ShowItemCloseButtonProperty
Field Value
RadProperty
|
Properties
ActionMouseButton
Gets or sets the mouse button that will be used to select page view items.
Declaration
public MouseButtons ActionMouseButton { get; set; }
Property Value
System.Windows.Forms.MouseButtons
|
ActiveEditor
Gets the active text editor used for in-place editing of page view items.
Declaration
public IInputEditor ActiveEditor { get; }
Property Value
IInputEditor
|
AllowEdit
Gets or sets a value indicating whether in-place editing of page view item text is allowed.
Declaration
public bool AllowEdit { get; set; }
Property Value
System.Boolean
|
ContentArea
Gets the element that represents the content area where page controls are displayed.
Declaration
public RadPageViewElementBase ContentArea { get; }
Property Value
RadPageViewElementBase
|
DefaultPage
Gets or sets the default RadPageViewPage that will be selected when the element is initialized.
Declaration
public RadPageViewPage DefaultPage { get; set; }
Property Value
RadPageViewPage
|
EnableNCModification
Declaration
protected virtual bool EnableNCModification { get; }
Property Value
System.Boolean
|
EnableNCPainting
Declaration
protected virtual bool EnableNCPainting { get; }
Property Value
System.Boolean
|
EnablePeekPopup
Gets or sets a value indicating whether a peek pop-up window can be displayed when a page view item is hovered with the mouse. The content of the peek pop-up must be set in the PeekPopupOpening event.
Declaration
public virtual bool EnablePeekPopup { get; set; }
Property Value
System.Boolean
|
EnsureSelectedItemVisible
Gets or sets a value indicating whether the currently selected item will be automatically scrolled into view.
Declaration
[RadPropertyDefaultValue("EnsureSelectedItemVisible", typeof(RadPageViewElement))]
public bool EnsureSelectedItemVisible { get; set; }
Property Value
System.Boolean
|
Footer
Header
Gets the header element that can be used to display text or content at the top of the page view.
Declaration
public virtual RadPageViewLabelElement Header { get; }
Property Value
RadPageViewLabelElement
|
IsEditing
This member is not intended to be used directly from your code.
Declaration
public bool IsEditing { get; }
Property Value
System.Boolean
|
ItemBorderAndFillOrientation
Gets or sets how each page view item's border and fill elements are oriented within this instance.
Declaration
[RadPropertyDefaultValue("ItemBorderAndFillOrientation", typeof(RadPageViewElement))]
public PageViewContentOrientation ItemBorderAndFillOrientation { get; set; }
Property Value
PageViewContentOrientation
|
ItemContentOrientation
Gets or sets the content orientation for text and images within page view items in this RadPageViewElement instance.
Declaration
[RadPropertyDefaultValue("ItemContentOrientation", typeof(RadPageViewElement))]
public PageViewContentOrientation ItemContentOrientation { get; set; }
Property Value
PageViewContentOrientation
|
ItemDragHint
Gets or sets the RadImageShape instance that describes the visual hint indicating where an item will be dropped after a drag operation.
Declaration
[VsbBrowsable(true)]
public RadImageShape ItemDragHint { get; set; }
Property Value
RadImageShape
|
ItemDragMode
Gets or sets the mode that controls how item drag and drop operations are handled within this element.
Declaration
public PageViewItemDragMode ItemDragMode { get; set; }
Property Value
PageViewItemDragMode
|
ItemDragService
Gets or sets the RadDragDropService instance that handles item drag and drop operations.
Declaration
public RadDragDropService ItemDragService { get; set; }
Property Value
RadDragDropService
|
Items
Gets a read-only collection containing all the RadPageViewItem instances currently present within this element.
Declaration
public IReadOnlyCollection<RadPageViewItem> Items { get; }
Property Value
IReadOnlyCollection<RadPageViewItem>
|
ItemSize
Gets or sets the size that will be applied to page view items when ItemSizeMode is set to EqualSize.
Declaration
public Size ItemSize { get; set; }
Property Value
System.Drawing.Size
|
ItemSizeMode
Gets or sets how page view items are sized within this RadPageViewElement instance.
Declaration
[RadPropertyDefaultValue("ItemSizeMode", typeof(RadPageViewElement))]
public PageViewItemSizeMode ItemSizeMode { get; set; }
Property Value
PageViewItemSizeMode
|
ItemSpacing
Gets or sets the spacing in pixels between adjacent page view items within this element.
Declaration
[RadPropertyDefaultValue("ItemSpacing", typeof(RadPageViewElement))]
public int ItemSpacing { get; set; }
Property Value
System.Int32
|
ItemsParent
Gets the RadElement instance that serves as the parent container for all page view items.
Declaration
protected abstract RadElement ItemsParent { get; }
Property Value
RadElement
|
OverflowPagesContextMenu
Gets the RadContextMenu that displays the overflow pages when there are too many items to display.
Declaration
public RadContextMenu OverflowPagesContextMenu { get; }
Property Value
RadContextMenu
|
Owner
Gets the RadPageView instance that owns this element. May be null if this element is hosted on another RadControl instance.
Declaration
public RadPageView Owner { get; }
Property Value
RadPageView
|
PeekPopup
Gets the peek pop-up window, which is represented by a RadCallout. The content of the peek pop-up must be set in the PeekPopupOpening event and EnablePeekPopup must be enabled.
Declaration
public RadCallout PeekPopup { get; }
Property Value
RadCallout
|
PeekPopupInterval
Gets or sets the time interval in milliseconds required to display a PeekPopup after a RadPageViewItem is hovered.
Declaration
public int PeekPopupInterval { get; set; }
Property Value
System.Int32
|
PeekTimer
Gets the timer used to delay the display of the peek pop-up window.
Declaration
protected Timer PeekTimer { get; }
Property Value
System.Windows.Forms.Timer
|
SelectedItem
Gets or sets the currently selected RadPageViewItem in this view.
Declaration
public RadPageViewItem SelectedItem { get; set; }
Property Value
RadPageViewItem
|
SelectionWrap
Gets or sets a value indicating whether page selection will wrap around when using arrow keys for navigation. If set to true, pressing the right arrow key when the last page is selected will select the first page.
Declaration
public bool SelectionWrap { get; set; }
Property Value
System.Boolean
|
ShowItemCloseButton
Gets or sets a value indicating whether a close button will be displayed in each item, allowing the item to be closed.
Declaration
[RadPropertyDefaultValue("ShowItemCloseButton", typeof(RadPageViewStripElement))]
public bool ShowItemCloseButton { get; set; }
Property Value
System.Boolean
|
UpdateSelectedItemContent
Gets or sets a value indicating whether selecting an item will update the content displayed in the element's ContentArea.
Declaration
public bool UpdateSelectedItemContent { get; set; }
Property Value
System.Boolean
|
Methods
AddItem(RadPageViewItem)
Adds the specified RadPageViewItem to this element's items collection.
Declaration
public void AddItem(RadPageViewItem item)
Parameters
RadPageViewItem
item
The item to add. |
AddItemCore(RadPageViewItem)
Performs the core logic for adding an item to the collection.
Declaration
protected virtual void AddItemCore(RadPageViewItem item)
Parameters
RadPageViewItem
item
The item to add. |
ArrangeContent(RectangleF)
Declaration
protected virtual RectangleF ArrangeContent(RectangleF clientRect)
Parameters
System.Drawing.RectangleF
clientRect
|
Returns
System.Drawing.RectangleF
|
ArrangeExternalElements(RectangleF, SizeF)
Declaration
protected void ArrangeExternalElements(RectangleF clientRect, SizeF finalSize)
Parameters
System.Drawing.RectangleF
clientRect
|
System.Drawing.SizeF
finalSize
|
ArrangeItems(RectangleF)
Arranges the page view items and returns the available rectangle where the content area should be positioned.
Declaration
protected virtual RectangleF ArrangeItems(RectangleF itemsRect)
Parameters
System.Drawing.RectangleF
itemsRect
The rectangle available for arranging items. |
Returns
System.Drawing.RectangleF
A System.Drawing.RectangleF representing the available content area. |
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
BeginEdit()
Puts the currently selected page view item into edit mode for in-place text editing.
Declaration
public bool BeginEdit()
Returns
System.Boolean
true if editing was successfully started; otherwise, false. |
CancelEdit()
This member is not intended to be used directly from your code.
Declaration
public void CancelEdit()
CanDropOverItem(RadPageViewItem, RadPageViewItem)
Declaration
protected virtual bool CanDropOverItem(RadPageViewItem dragItem, RadPageViewItem hitItem)
Parameters
RadPageViewItem
dragItem
|
RadPageViewItem
hitItem
|
Returns
System.Boolean
|
CanPeekItem(RadPageViewItem)
Determines whether the specified item can have a peek pop-up displayed when EnablePeekPopup is enabled.
Declaration
protected virtual bool CanPeekItem(RadPageViewItem item)
Parameters
RadPageViewItem
item
The RadPageViewItem to check. |
Returns
System.Boolean
true if a peek pop-up can be displayed for the item; otherwise, false. |
CanSelectItem(RadPageViewItem)
Declaration
protected virtual bool CanSelectItem(RadPageViewItem item)
Parameters
RadPageViewItem
item
|
Returns
System.Boolean
|
CloseItem(RadPageViewItem)
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 abstract RadPageViewItem CreateItem()
Returns
RadPageViewItem
A new RadPageViewItem instance. |
CreateOverflowPagesContextMenu()
Declaration
protected virtual RadContextMenu CreateOverflowPagesContextMenu()
Returns
RadContextMenu
|
DisplayItemListMenu(RadPageViewElementBase)
Displays the item list menu using the specified element as the menu's owner.
Declaration
public void DisplayItemListMenu(RadPageViewElementBase menuOwner)
Parameters
RadPageViewElementBase
menuOwner
The element that will own the displayed menu. |
DisplayItemListMenu(RadPageViewElementBase, HorizontalPopupAlignment, VerticalPopupAlignment)
Displays the item list menu using the specified element as the menu's owner and the specified alignment options.
Declaration
public void DisplayItemListMenu(RadPageViewElementBase menuOwner, HorizontalPopupAlignment hAlign, VerticalPopupAlignment vAlign)
Parameters
RadPageViewElementBase
menuOwner
The element that will own the displayed menu. |
HorizontalPopupAlignment
hAlign
The horizontal alignment of the menu relative to the owner. |
VerticalPopupAlignment
vAlign
The vertical alignment of the menu relative to the owner. |
DisplayItemListMenu(RadPageViewMenuDisplayingEventArgs)
Displays the item list menu using the provided event arguments that contain menu configuration.
Declaration
protected virtual void DisplayItemListMenu(RadPageViewMenuDisplayingEventArgs e)
Parameters
RadPageViewMenuDisplayingEventArgs
e
The event arguments containing menu display configuration. |
DisposeManagedResources()
Releases the managed resources used by this element.
Declaration
protected override void DisposeManagedResources()
Overrides
EndEdit()
Commits any changes and ends the edit operation on the current page view item.
Declaration
public bool EndEdit()
Returns
System.Boolean
true if the edit operation was successfully ended; otherwise, false. |
EndEditCore(Boolean)
This member is not intended to be used directly from your code.
Declaration
protected virtual bool EndEditCore(bool commitChanges)
Parameters
System.Boolean
commitChanges
true to commit changes; false to discard them. |
Returns
System.Boolean
true if the edit operation was successfully ended; otherwise, false. |
EndItemDrag(RadPageViewItem)
Declaration
protected virtual void EndItemDrag(RadPageViewItem item)
Parameters
RadPageViewItem
item
|
EnsureItemVisible(RadPageViewItem)
Ensures that the specified RadPageViewItem is visible within the view area.
Declaration
public bool EnsureItemVisible(RadPageViewItem item)
Parameters
RadPageViewItem
item
The item to make visible. |
Returns
System.Boolean
true if the item was successfully made visible; otherwise, false. |
EnsureItemVisibleCore(RadPageViewItem)
Performs the core logic for ensuring that the specified item is visible.
Declaration
protected virtual bool EnsureItemVisibleCore(RadPageViewItem item)
Parameters
RadPageViewItem
item
The item to make visible. |
Returns
System.Boolean
true if the item was successfully made visible; otherwise, false. |
FindItem(RadElement)
Finds the RadPageViewItem that contains the specified content element.
Declaration
public RadPageViewItem FindItem(RadElement content)
Parameters
RadElement
content
The content element to search for. |
Returns
RadPageViewItem
The RadPageViewItem containing the content, or null if not found. |
GetAutomaticItemOrientation(Boolean)
Gets the default (automatic) item orientation, which may depend on implementation-specific settings.
Declaration
protected virtual PageViewContentOrientation GetAutomaticItemOrientation(bool content)
Parameters
System.Boolean
content
true to retrieve content orientation; false to get orientation for border and fill. |
Returns
PageViewContentOrientation
The automatic PageViewContentOrientation for items. |
GetClientRectangleFromContentElement(RadPageViewContentAreaElement)
Calculates the client rectangle for the specified content area element, excluding padding and border thickness.
Declaration
public virtual Rectangle GetClientRectangleFromContentElement(RadPageViewContentAreaElement contentArea)
Parameters
RadPageViewContentAreaElement
contentArea
The content area element to calculate the client rectangle for. |
Returns
System.Drawing.Rectangle
A System.Drawing.Rectangle representing the usable client area. |
GetContentAreaForItem(RadPageViewItem)
Gets the RadPageViewContentAreaElement instance that represents the content area associated with the specified item. By default, this method returns the main content area of the RadPageView control.
Declaration
public virtual RadPageViewContentAreaElement GetContentAreaForItem(RadPageViewItem item)
Parameters
RadPageViewItem
item
The RadPageViewItem for which to get the content area. |
Returns
RadPageViewContentAreaElement
A RadPageViewContentAreaElement instance. |
GetContentAreaRectangle()
Gets the rectangular area where the currently active page content may be displayed.
Declaration
public virtual Rectangle GetContentAreaRectangle()
Returns
System.Drawing.Rectangle
A System.Drawing.Rectangle representing the content area bounds. |
GetItemAt(Int32)
Gets the RadPageViewItem at the specified index.
Declaration
public RadPageViewItem GetItemAt(int index)
Parameters
System.Int32
index
The zero-based index of the item to retrieve. |
Returns
RadPageViewItem
The RadPageViewItem at the specified index. |
GetItemsRect()
Gets the rectangular area where page view items are displayed within this element.
Declaration
public virtual RectangleF GetItemsRect()
Returns
System.Drawing.RectangleF
A System.Drawing.RectangleF representing the items area. |
GetNCMetrics()
Declaration
protected virtual Padding GetNCMetrics()
Returns
System.Windows.Forms.Padding
|
GetPeekPopupArrowDirection()
InitializeFields()
Initializes the default field values for this element.
Declaration
protected override void InitializeFields()
Overrides
InsertItem(Int32, RadPageViewItem)
Inserts the specified RadPageViewItem at the specified index in this element's items collection.
Declaration
public void InsertItem(int index, RadPageViewItem item)
Parameters
System.Int32
index
The zero-based index at which to insert the item. |
RadPageViewItem
item
The item to insert. |
InsertItemCore(Int32, RadPageViewItem)
Performs the core logic for inserting an item at the specified index.
Declaration
protected virtual void InsertItemCore(int index, RadPageViewItem item)
Parameters
System.Int32
index
The zero-based index at which to insert the item. |
RadPageViewItem
item
The item to insert. |
IsChildElementExternal(RadElement)
Declaration
protected virtual bool IsChildElementExternal(RadElement element)
Parameters
RadElement
element
|
Returns
System.Boolean
|
IsNextKey(Keys)
Declaration
protected virtual bool IsNextKey(Keys key)
Parameters
System.Windows.Forms.Keys
key
|
Returns
System.Boolean
|
IsPreviousKey(Keys)
Declaration
protected virtual bool IsPreviousKey(Keys key)
Parameters
System.Windows.Forms.Keys
key
|
Returns
System.Boolean
|
ItemFromPoint(Point)
Gets the RadPageViewItem that contains the specified point in client coordinates.
Declaration
public RadPageViewItem ItemFromPoint(Point client)
Parameters
System.Drawing.Point
client
The point in client coordinates to test. |
Returns
RadPageViewItem
The RadPageViewItem containing the point, or null if no item contains the point. |
MeasureExternalElements(SizeF, SizeF)
Declaration
protected void MeasureExternalElements(SizeF clientSize, SizeF availableSize)
Parameters
System.Drawing.SizeF
clientSize
|
System.Drawing.SizeF
availableSize
|
MeasureItems(SizeF)
Declaration
protected virtual SizeF MeasureItems(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnContentBoundsChanged()
Declaration
protected virtual void OnContentBoundsChanged()
OnEditorInitialized(Object, RadPageViewEditorEventArgs)
Declaration
protected virtual void OnEditorInitialized(object sender, RadPageViewEditorEventArgs e)
Parameters
System.Object
sender
|
RadPageViewEditorEventArgs
e
|
OnItemClick(RadPageViewItem, EventArgs)
Declaration
protected virtual void OnItemClick(RadPageViewItem sender, EventArgs e)
Parameters
RadPageViewItem
sender
|
System.EventArgs
e
|
OnItemContentChanged(RadPageViewItem)
Declaration
protected virtual void OnItemContentChanged(RadPageViewItem item)
Parameters
RadPageViewItem
item
|
OnItemContentChanging(RadPageViewItem, RadElement)
Declaration
protected virtual bool OnItemContentChanging(RadPageViewItem item, RadElement newContent)
Parameters
RadPageViewItem
item
|
RadElement
newContent
|
Returns
System.Boolean
|
OnItemCreating(RadPageViewItemCreatingEventArgs)
Declaration
protected virtual RadPageViewItem OnItemCreating(RadPageViewItemCreatingEventArgs args)
Parameters
RadPageViewItemCreatingEventArgs
args
|
Returns
RadPageViewItem
|
OnItemDrag(RadPageViewItem, MouseEventArgs)
Declaration
protected virtual void OnItemDrag(RadPageViewItem sender, MouseEventArgs e)
Parameters
RadPageViewItem
sender
|
System.Windows.Forms.MouseEventArgs
e
|
OnItemDropped(Object, RadPageViewItemDroppedEventArgs)
Declaration
protected virtual void OnItemDropped(object sender, RadPageViewItemDroppedEventArgs args)
Parameters
System.Object
sender
|
RadPageViewItemDroppedEventArgs
args
|
OnItemDropping(Object, RadPageViewItemDroppingEventArgs)
Declaration
protected virtual void OnItemDropping(object sender, RadPageViewItemDroppingEventArgs args)
Parameters
System.Object
sender
|
RadPageViewItemDroppingEventArgs
args
|
OnItemMouseDown(RadPageViewItem, MouseEventArgs)
Declaration
protected virtual void OnItemMouseDown(RadPageViewItem sender, MouseEventArgs e)
Parameters
RadPageViewItem
sender
|
System.Windows.Forms.MouseEventArgs
e
|
OnItemMouseEnter(RadPageViewItem)
Declaration
protected virtual void OnItemMouseEnter(RadPageViewItem item)
Parameters
RadPageViewItem
item
|
OnItemMouseLeave(RadPageViewItem)
Declaration
protected virtual void OnItemMouseLeave(RadPageViewItem item)
Parameters
RadPageViewItem
item
|
OnItemMouseUp(RadPageViewItem, MouseEventArgs)
Declaration
protected virtual void OnItemMouseUp(RadPageViewItem sender, MouseEventArgs e)
Parameters
RadPageViewItem
sender
|
System.Windows.Forms.MouseEventArgs
e
|
OnItemPropertyChanged(RadPageViewItem, RadPropertyChangedEventArgs)
Declaration
protected virtual void OnItemPropertyChanged(RadPageViewItem item, RadPropertyChangedEventArgs e)
Parameters
RadPageViewItem
item
|
RadPropertyChangedEventArgs
e
|
OnItemsChanged(Object, RadPageViewItemsChangedEventArgs)
Declaration
protected virtual void OnItemsChanged(object sender, RadPageViewItemsChangedEventArgs args)
Parameters
System.Object
sender
|
RadPageViewItemsChangedEventArgs
args
|
OnItemSelected(Object, RadPageViewItemSelectedEventArgs)
Declaration
public virtual void OnItemSelected(object sender, RadPageViewItemSelectedEventArgs args)
Parameters
System.Object
sender
|
RadPageViewItemSelectedEventArgs
args
|
OnItemSelecting(Object, RadPageViewItemSelectingEventArgs)
Declaration
public virtual void OnItemSelecting(object sender, RadPageViewItemSelectingEventArgs args)
Parameters
System.Object
sender
|
RadPageViewItemSelectingEventArgs
args
|
OnLoaded()
Called when the element is loaded and ready for use.
Declaration
protected override void OnLoaded()
Overrides
OnNCPaint(Graphics)
Declaration
protected virtual void OnNCPaint(Graphics g)
Parameters
System.Drawing.Graphics
g
|
OnPageAdded(RadPageViewEventArgs)
Declaration
protected virtual void OnPageAdded(RadPageViewEventArgs e)
Parameters
RadPageViewEventArgs
e
|
OnPageIndexChanged(RadPageViewIndexChangedEventArgs)
Declaration
protected virtual void OnPageIndexChanged(RadPageViewIndexChangedEventArgs e)
Parameters
RadPageViewIndexChangedEventArgs
e
|
OnPageRemoved(RadPageViewEventArgs)
Declaration
protected virtual void OnPageRemoved(RadPageViewEventArgs e)
Parameters
RadPageViewEventArgs
e
|
OnPeekPopupClosed(EventArgs)
Declaration
protected virtual void OnPeekPopupClosed(EventArgs e)
Parameters
System.EventArgs
e
|
OnPeekPopupOpening(RadPageViewPeekPopupEventArgs)
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnSelectedPageChanged(RadPageViewEventArgs)
Declaration
protected virtual void OnSelectedPageChanged(RadPageViewEventArgs e)
Parameters
RadPageViewEventArgs
e
|
PerformArrange(RectangleF)
Declaration
protected virtual RectangleF PerformArrange(RectangleF clientRect)
Parameters
System.Drawing.RectangleF
clientRect
|
Returns
System.Drawing.RectangleF
|
PerformItemDrop(RadPageViewItem, RadPageViewItem)
Declaration
protected void PerformItemDrop(RadPageViewItem dragItem, RadPageViewItem hitItem)
Parameters
RadPageViewItem
dragItem
|
RadPageViewItem
hitItem
|
ProcessDragDrop(Point, ISupportDrag)
Declaration
protected override void ProcessDragDrop(Point dropLocation, ISupportDrag dragObject)
Parameters
System.Drawing.Point
dropLocation
|
ISupportDrag
dragObject
|
Overrides
ProcessDragOver(Point, ISupportDrag)
Declaration
protected override bool ProcessDragOver(Point mousePosition, ISupportDrag dragObject)
Parameters
System.Drawing.Point
mousePosition
|
ISupportDrag
dragObject
|
Returns
System.Boolean
|
Overrides
ProcessKeyDown(KeyEventArgs)
Declaration
protected virtual void ProcessKeyDown(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
|
RemoveItem(RadPageViewItem)
Removes the specified RadPageViewItem from this element's items collection.
Declaration
public void RemoveItem(RadPageViewItem item)
Parameters
RadPageViewItem
item
The item to remove. |
RemoveItemCore(RadPageViewItem)
Performs the core logic for removing an item from the collection.
Declaration
protected virtual void RemoveItemCore(RadPageViewItem item)
Parameters
RadPageViewItem
item
The item to remove. |
SelectNextItem()
Declaration
public bool SelectNextItem()
Returns
System.Boolean
|
SelectNextItemCore(RadPageViewItem, Boolean, Boolean)
Declaration
protected virtual bool SelectNextItemCore(RadPageViewItem current, bool forward, bool wrap)
Parameters
RadPageViewItem
current
|
System.Boolean
forward
|
System.Boolean
wrap
|
Returns
System.Boolean
|
SelectPreviousItem()
Declaration
public bool SelectPreviousItem()
Returns
System.Boolean
|
SetItemIndex(Int32, Int32)
Changes the position of an item from the current index to a new index.
Declaration
protected virtual void SetItemIndex(int currentIndex, int newIndex)
Parameters
System.Int32
currentIndex
The current index of the item. |
System.Int32
newIndex
The new index where the item should be positioned. |
SetSelectedContent(RadPageViewItem)
Declaration
protected virtual void SetSelectedContent(RadPageViewItem item)
Parameters
RadPageViewItem
item
|
SetSelectedItem(RadPageViewItem)
Sets the specified RadPageViewItem as the currently selected item.
Declaration
protected virtual void SetSelectedItem(RadPageViewItem item)
Parameters
RadPageViewItem
item
The item to select, or null to clear the selection. |
ShowPeekPopup(RadPageViewItem)
Displays a peek pop-up window over the specified RadPageViewItem. The content of the peek pop-up must be set in the PeekPopupOpening event.
Declaration
public void ShowPeekPopup(RadPageViewItem peekItem)
Parameters
RadPageViewItem
peekItem
The item over which to display the peek pop-up. |
ShowPeekPopupCore(RadPageViewItem)
Declaration
protected virtual void ShowPeekPopupCore(RadPageViewItem peekItem)
Parameters
RadPageViewItem
peekItem
|
StartItemDrag(RadPageViewItem)
Declaration
protected virtual void StartItemDrag(RadPageViewItem item)
Parameters
RadPageViewItem
item
|
SwapItems(Int32, Int32)
Swaps the positions of the items at the specified indices in the collection.
Declaration
public void SwapItems(int index1, int index2)
Parameters
System.Int32
index1
The index of the first item to swap. |
System.Int32
index2
The index of the second item to swap. |
SwapItems(RadPageViewItem, RadPageViewItem)
Swaps the positions of two RadPageViewItem instances in the collection.
Declaration
public void SwapItems(RadPageViewItem item1, RadPageViewItem item2)
Parameters
RadPageViewItem
item1
The first item to swap. |
RadPageViewItem
item2
The second item to swap. |
SwapItemsCore(Int32, Int32)
Performs the core logic for swapping items at the specified indices.
Declaration
protected virtual void SwapItemsCore(int index1, int index2)
Parameters
System.Int32
index1
The index of the first item to swap. |
System.Int32
index2
The index of the second item to swap. |
SynchronizeItemsIndices()
Synchronizes the indices of all items in the collection with their visual representation.
Declaration
protected virtual void SynchronizeItemsIndices()
SyncronizeItem(RadPageViewItem)
Declaration
protected virtual void SyncronizeItem(RadPageViewItem item)
Parameters
RadPageViewItem
item
|
UpdateItemOrientation(IEnumerable)
Declaration
protected virtual void UpdateItemOrientation(IEnumerable items)
Parameters
System.Collections.IEnumerable
items
|
UpdatePageBounds(RadPageViewPage)
Declaration
protected virtual void UpdatePageBounds(RadPageViewPage page)
Parameters
RadPageViewPage
page
|
Events
EditorInitialized
Occurs when an editor for item text editing has been initialized.
Declaration
public event EventHandler<RadPageViewEditorEventArgs> EditorInitialized
Event Type
System.EventHandler<RadPageViewEditorEventArgs>
|
ItemClicked
Occurs when a page view item is clicked.
Declaration
public event EventHandler ItemClicked
Event Type
System.EventHandler
|
ItemCreating
Occurs when a new page view item is being created.
Declaration
public event EventHandler<RadPageViewItemCreatingEventArgs> ItemCreating
Event Type
System.EventHandler<RadPageViewItemCreatingEventArgs>
|
ItemDropped
Occurs when a page view item has been dropped during a drag operation.
Declaration
public event EventHandler<RadPageViewItemDroppedEventArgs> ItemDropped
Event Type
System.EventHandler<RadPageViewItemDroppedEventArgs>
|
ItemDropping
Occurs when a page view item is about to be dropped during a drag operation.
Declaration
public event EventHandler<RadPageViewItemDroppingEventArgs> ItemDropping
Event Type
System.EventHandler<RadPageViewItemDroppingEventArgs>
|
ItemsChanged
Occurs when the collection of page view items has changed.
Declaration
public event EventHandler<RadPageViewItemsChangedEventArgs> ItemsChanged
Event Type
System.EventHandler<RadPageViewItemsChangedEventArgs>
|
ItemSelected
Occurs when a page view item has been selected.
Declaration
public event EventHandler<RadPageViewItemSelectedEventArgs> ItemSelected
Event Type
System.EventHandler<RadPageViewItemSelectedEventArgs>
|
ItemSelecting
Occurs when a page view item is about to be selected.
Declaration
public event EventHandler<RadPageViewItemSelectingEventArgs> ItemSelecting
Event Type
System.EventHandler<RadPageViewItemSelectingEventArgs>
|
PeekPopupClosed
Occurs when the peek pop-up window has been closed.
Declaration
public event EventHandler PeekPopupClosed
Event Type
System.EventHandler
|
PeekPopupOpening
Occurs when the peek pop-up window is about to be displayed. You must populate the content of the peek pop-up in this event handler, otherwise it will not be displayed.
Declaration
public event EventHandler<RadPageViewPeekPopupEventArgs> PeekPopupOpening
Event Type
System.EventHandler<RadPageViewPeekPopupEventArgs>
|