Table of Contents

Class MenuSeparator

Namespace
Myra.Graphics2D.UI
Assembly
Myra.dll

A separator menu item that visually divides menu items.

public class MenuSeparator : IMenuItem, IItemWithId
Inheritance
MenuSeparator
Implements
Inherited Members

Properties

Id

Gets or sets the identifier of the menu separator.

[Browsable(false)]
public string Id { get; set; }

Property Value

string

Index

Gets or sets the index of this separator within its parent menu.

[Browsable(false)]
public int Index { get; set; }

Property Value

int

Menu

Gets or sets the menu that contains this separator.

[Browsable(false)]
public Menu Menu { get; set; }

Property Value

Menu

UnderscoreChar

Gets the underscore character position for the separator (always null).

[Browsable(false)]
public char? UnderscoreChar { get; }

Property Value

char?