New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RadPageViewMenuDisplayingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsRadPageViewMenuDisplayingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

C#
public RadPageViewMenuDisplayingEventArgs(List<RadMenuItemBase> items, Rectangle alignRect, HorizontalPopupAlignment hAlign, VerticalPopupAlignment vAlign)
Parameters:itemsList<RadMenuItemBase>alignRectRectanglehAlignHorizontalPopupAlignmentvAlignVerticalPopupAlignment
C#
public RadPageViewMenuDisplayingEventArgs(List<RadMenuItemBase> items, Rectangle alignRect)
Parameters:itemsList<RadMenuItemBase>alignRectRectangle

Properties

Gets or sets the rectangle (in screen coordinates) which will be used to align the menu.

C#
public Rectangle AlignRect { get; set; }

Gets or sets the horizontal alignment of the menu that will display the items.

C#
public HorizontalPopupAlignment HAlign { get; set; }

Gets a list with all the items that will be displayed.

C#
public List<RadMenuItemBase> Items { get; }

Gets or sets the vertical alignment of the menu that will display the items.

C#
public VerticalPopupAlignment VAlign { get; set; }