Click or drag to resize
AB4D logo

CameraNavigationCirclesOnCreateAxisNameTextBlock Method

OnCreateAxisNameTextBlock 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 TextBlock should have IsHitTestVisible set to false).

Namespace: Ab3d.Controls
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
protected virtual TextBlock OnCreateAxisNameTextBlock(
	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

TextBlock
TextBlock
See Also