Class RVMenuItemBase
The base class used for menu items.
Inheritance
System.Object
RVMenuItemBase
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Reveal.Sdk
Assembly: Reveal.UI.Sdk.dll
Syntax
public class RVMenuItemBase
Constructors
RVMenuItemBase(String, RVImage)
Constructor for the menu item that sets the title and icon properties.
Declaration
public RVMenuItemBase(string title, RVImage icon)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | A string used as the label for the menu item. |
RVImage | icon | An RVIcon object that specifies what image to use as an icon for the menu item. |
Properties
Icon
Icon shown to the left of the menu label.
Declaration
public RVImage Icon { get; set; }
Property Value
Type | Description |
---|---|
RVImage |
IsAppSupplied
A set-once property to determine if a menu item was internally supplied.
Declaration
public bool IsAppSupplied { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsHidden
Property used to determine if the menu item should be hidden from view.
Declaration
public bool IsHidden { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Title
A string used as the label for the menu item.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
MarkPropertyDirty(String)
Add a string to the dirty properties list.
Declaration
public void MarkPropertyDirty(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | A string representation of the property to mark as dirty. |
ResetDirtyProperties()
Clears the dirty properties list.
Declaration
public void ResetDirtyProperties()