C# Class NativeUI.UIMenuCheckboxItem

Inheritance: UIMenuItem
Show file Open project: Guad/NativeUI Class Usage Examples

Protected Properties

Property Type Description
_checkedSprite Sprite

Public Methods

Method Description
CheckboxEventTrigger ( ) : void
Draw ( ) : void

Draw item.

Position ( int y ) : void

Change item's position.

SetRightBadge ( BadgeStyle badge ) : void
SetRightLabel ( string text ) : void
UIMenuCheckboxItem ( string text, bool check ) : System

Checkbox item with a toggleable checkbox.

UIMenuCheckboxItem ( string text, bool check, string description ) : System

Checkbox item with a toggleable checkbox.

Method Details

CheckboxEventTrigger() public method

public CheckboxEventTrigger ( ) : void
return void

Draw() public method

Draw item.
public Draw ( ) : void
return void

Position() public method

Change item's position.
public Position ( int y ) : void
y int New Y value.
return void

SetRightBadge() public method

public SetRightBadge ( BadgeStyle badge ) : void
badge BadgeStyle
return void

SetRightLabel() public method

public SetRightLabel ( string text ) : void
text string
return void

UIMenuCheckboxItem() public method

Checkbox item with a toggleable checkbox.
public UIMenuCheckboxItem ( string text, bool check ) : System
text string Item label.
check bool Boolean value whether the checkbox is checked.
return System

UIMenuCheckboxItem() public method

Checkbox item with a toggleable checkbox.
public UIMenuCheckboxItem ( string text, bool check, string description ) : System
text string Item label.
check bool Boolean value whether the checkbox is checked.
description string Description for this item.
return System

Property Details

_checkedSprite protected property

protected Sprite,NativeUI _checkedSprite
return Sprite