CommandTile

TileReferences
public sealed class CommandTile : Tile
A command tile.

Properties

BackFace

Gets the index of the back face currently being painted by Tile.DrawFaceB(Graphics, RectangleF, Color, Color).
protected int BackFace { get; }
inherited fromTile

Bounds

Gets or sets the bounds for this tile. Please do not set this yourself... A tile may draw outside of its bounds during rotation.
public RectangleF Bounds { get; set; }
inherited fromTile

Colour

Gets the colour to be used for this tile.
public Color Colour { get; set; }
inherited fromTile

Info

#
public string Info { get; }

Kind

Gets the kind of this tile.
public TileKind Kind { get; }
inherited fromTile

RotationAngle

Gets the progress of the current flip, from zero (old face flat) to one (new face flat).
protected float RotationAngle { get; }
inherited fromTile

Text

#
public string Text { get; }

Methods

BackFaceAt

Gets the index of the back face a point asks for. The default tile has a single back face.
protected virtual int BackFaceAt(
PointF
point
)
inherited fromTile

Click

#
public override void Click(
canvas,
bag,
MouseEventArgs
e
)
Tile.Click

CreateOpen

#
public static CommandTile CreateOpen()

CreateOpenSandBox

#
public static CommandTile CreateOpenSandBox()

CreateRestore

#
public static CommandTile CreateRestore()

Draw

public void Draw(
context
)
inherited fromTile

DrawFaceA

#
protected override void DrawFaceA(
Graphics
graphics,
RectangleF
frame,
Color
back,
Color
fore
)
Tile.DrawFaceA

DrawFaceB

#
protected override void DrawFaceB(
Graphics
graphics,
RectangleF
frame,
Color
back,
Color
fore
)
Tile.DrawFaceB

HasBackFace

Gets whether a back face has anything to show. A tile does not turn towards an empty face.
protected virtual bool HasBackFace(
face
)
inherited fromTile

ShowTooltip

#
public override void ShowTooltip(
PointF
point
)
Tile.ShowTooltip