|
CameraNavigationCirclesOnCreateAxisLine Method |
OnCreateAxisLine method creates a TextBlock that will show the axis name (for example "X" or "-X").
This method can be overridden in a derived class to customize the behaviour (note: the created Line should have IsHitTestVisible set to false).
Namespace: Ab3d.ControlsAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax protected virtual Line OnCreateAxisLine(
string axisName,
bool isPositiveAxis,
Brush axisColorBrush
)
Parameters
- axisName String
- text that is shown for this axis (for example "X" or "-X")
- isPositiveAxis Boolean
- true when this is a axis in a positive direction
- axisColorBrush Brush
- SolidColorBrush with the color of the axis
Return Value
LineTextBlock
See Also