[]
Represents styles for the context menu.
public class ContextMenuStyle : ISerializeSupport, ISerializable
Public Class ContextMenuStyle
Implements ISerializeSupport, ISerializable
Name | Description |
---|---|
ContextMenuStyle() | Initializes a new instance of the ContextMenuStyle class. |
ContextMenuStyle(SerializationInfo, StreamingContext) | Initializes a new instance of the ContextMenuStyle class. |
Name | Description |
---|---|
ArrowImageUrl | Gets or sets the context menu arrow image URL. |
BackColor | Gets or sets the background color. |
Border | Gets or sets the context menu border. |
ItemBackColor | Gets or sets the backcolor of the context menu item. |
ItemDisabledBackColor | Gets or sets the backcolor of the disabled item. |
ItemDisabledForeColor | Gets or sets the forecolor of the disabled item. |
ItemFont | Gets or sets the font information of the context menu item. |
ItemForeColor | Gets or sets the forecolor of the context menu item. |
ItemHoverBackColor | Gets or sets the backcolor of the context menu item when the mouse is over the item. |
ItemHoverBorder | Gets or sets the item hover border. |
ItemHoverForeColor | Gets or sets the forecolor of the context menu item when the mouse is over the item. |
Seperator | Gets or sets the context menu seperator. |
Name | Description |
---|---|
GetObjectData(SerializationInfo, StreamingContext) | Populates a SerializationInfo with the data needed to serialize the target object. |