Mouse |
public class MouseCameraControllerInfo : Grid
The MouseCameraControllerInfo type exposes the following members.
Name | Description | |
---|---|---|
MouseCameraControllerInfo | Initializes a new instance of MouseCameraControllerInfo. |
Name | Description | |
---|---|---|
AltText | Gets or sets a text that is displayed for Alt key. Default value is "Alt". After changing the value you may need to call Update method. | |
CtrlText | Gets or sets a text that is displayed for Control key. Default value is "Ctrl". After changing the value you may need to call Update method. | |
FontSize | Gets or sets a Boolean that specifies the size of the info text. | |
FontWeight | Gets or sets a font weight | |
Foreground | Gets or sets a Boolean that a brush that is used to color the text. | |
MouseCameraController | Gets or sets a Boolean that a brush that is used to color the text. | |
MoveCameraText | Gets or sets a text that is displayed for "Move camera". After changing the value you may need to call Update method. | |
QuickZoomText | Gets or sets a text that is displayed for "Quick zoom". After changing the value you may need to call Update method. | |
RotateCameraText | Gets or sets a text that is displayed for "Rotate camera". After changing the value you may need to call Update method. | |
ShowMoveInfo | Gets or sets a Boolean that specifies if information on how to move the camera is shown. | |
ShowQuickZoomInfo | Gets or sets a Boolean that specifies if information on how to use quick zoom is shown. | |
ShowRotateInfo | Gets or sets a Boolean that specifies if information on how to rotate the camera is shown. |
Name | Description | |
---|---|---|
AddCustomInfoLine | AddCustomInfoLine adds custom message with keyboard and mouse button icon to the existing mouse controller info. | |
ClearCustomInfoLines | ClearCustomInfoLines removes all custom messages | |
OnMouseCameraControllerPropertyChanged | OnPropertyChanged | |
OnPropertyChanged | OnPropertyChanged | |
Update | Updates the drawn controls |
Name | Description | |
---|---|---|
FontSizeProperty | FontSizeProperty | |
FontWeightProperty | FontWeightProperty | |
ForegroundProperty | ForegroundProperty | |
MouseCameraControllerProperty | MouseCameraControllerProperty | |
ShowMoveInfoProperty | ShowMoveInfoProperty | |
ShowQuickZoomInfoProperty | ShowQuickZoomInfoProperty | |
ShowRotateInfoProperty | ShowRotateInfoProperty |
MouseCameraControllerInfo shows images of keyboard and mouse button that describe how user can rotate and move the camera.
It is also possible to show custom text with custom mouse and keyboard icon with AddCustomInfoLine(Int32, MouseCameraControllerMouseAndKeyboardConditions, String) method.
The MouseCameraControllerInfo is using MouseWithButtons and KeyboardKey UserControls to show keyboard and mouse.