Search
CheckBox Members
Constructors Properties Methods Events
 


A check box-like manipulator.

The following tables list the members exposed by the CheckBox type.

 Public Constructors

  Name Description

CheckBox

Initializes a new instance of the CheckBox class.

 Public Properties

  Name Description

Bounds

Gets or sets the bounds of this manipulator, relative to its parent, expressed as percentages. (Inherited from Button.)

Brush

Gets or sets the background brush of the button when it is in normal state. (Inherited from Button.)

BrushHovered

Gets or sets the background brush of the button when it is in hovered state. (Inherited from Button.)

BrushPressed

Gets or sets the background brush of the button when it is in pressed state. (Inherited from Button.)

CheckedImageList

Gets or sets a list with images. Each image in the list represents the appearance of the check box in its checked state: 0 - normal, 1 - pressed, 2 - disabled, 3 - hovered.

Focusable

Gets or sets a value indicating whether this manipulator can receive input focus. (Inherited from Manipulator.)

Font

Gets or sets the font of the button text. (Inherited from Button.)

Image

Gets or sets the image associated with the button. (Inherited from Button.)

ImageAlign

Gets or sets the alignment of the button image. (Inherited from Button.)

ImageList

Gets or sets a list with images. Each image in the list represents the appearance of the button in one of its states: 0 - normal, 1 - pressed, 2 - disabled, 3 - hovered. (Inherited from Button.)

IsChecked

Gets or sets a value indicating whether the check box is checked.

IsEnabled

Gets or sets a value indicating whether this manipulator is enabled and can be interacted with. (Inherited from Manipulator.)

Item

Gets the target item of this manipulator. is attached to. (Inherited from Manipulator.)

Padding

Gets or sets a value indicating the distance between the button border and its contents. (Inherited from Button.)

Pen

Gets or sets the border pen of the button when it is in normal state. (Inherited from Button.)

PenHovered

Gets or sets the border pen of the button when it is in hovered state. (Inherited from Button.)

PenPressed

Gets or sets the border pen of the button when it is in pressed state. (Inherited from Button.)

Text

Gets or sets the text of the button. (Inherited from Button.)

TextColor

Gets or sets the color of the button text. (Inherited from Button.)

TextFormat

Gets or sets the layout properties of the button text. (Inherited from Button.)

 Protected Properties

  Name Description

IsFocused

Gets or sets a value indicating whether the manipulator currently holds the input focus. (Inherited from Manipulator.)

State

Gets the current state of the button. (Inherited from Button.)

 Public Methods

  Name Description

AddToRepaintRect

Manipulator.AddToRepaintRect override. (Inherited from Button.)

Apply

Calls OnClick with argument transformed to local coordinates if necessary. (Inherited from Manipulator.)

Cancel

Called when the manipulator should cancel the current manipulation. (Inherited from Manipulator.)

Draw

Button.Draw override.

DrawsInLocalCoordinates

Returns whether the manipulator object draws in local or global coordinates. (Inherited from Manipulator.)

HitTest

Manipulator.HitTest override. (Inherited from Button.)

NeedsMouseMessages

Manipulator.NeedsMouseMessages override. (Inherited from Button.)

OnClick

Manipulator.HitTest override. (Inherited from Button.)

OnGotFocus

Manipulator.OnGotFocus override. (Inherited from Button.)

OnKeyDown

Manipulator.OnKeyDown override. (Inherited from Button.)

OnKeyPress

Called when a character key is pressed when this manipulator has the input focus. (Inherited from Manipulator.)

OnLostFocus

Manipulator.OnLostFocus override. (Inherited from Button.)

OnMouseDown

Manipulator.OnMouseDown override. (Inherited from Button.)

OnMouseMove

Manipulator.OnMouseMove override. (Inherited from Button.)

OnMouseUp

Manipulator.OnMouseUp override. (Inherited from Button.)

OnZoomChanged

Called when the zoom factor in the diagram containing the manipulator has changed. (Inherited from Manipulator.)

SetMouseCursor

Returns the cursor that should be displayed when the mouse pointer is over this manipulator. (Inherited from Manipulator.)

SupportClipping

Manipulator.SupportClipping override. (Inherited from Button.)

 Protected Methods

  Name Description

GetBounds

Gets the absolute bounding rectangle of this manipulator. (Inherited from Button.)

GetImage

Button.GetImage override.

Invalidate

Invalidates the appearance of the manipulator. (Inherited from Button.)

OnClicked

Button.OnClicked override.

OnCustomDraw

Raises the CustomDraw event. (Inherited from Button.)

OnIsEnabledChanged

Manipulator.OnIsEnabledChanged override. (Inherited from Button.)

 Public Events

  Name Description

Clicked

Raised when the button is clicked. (Inherited from Button.)

CustomDraw

Raised when the button is drawn to allow for custom drawing. (Inherited from Button.)

 See Also