C# Class HelixToolkit.Wpf.BillboardTextGroupVisual3D

Inheritance: RenderingModelVisual3D
显示文件 Open project: litdev1/LitDev

Public Properties

Property Type Description
BackgroundProperty System.Windows.DependencyProperty
BorderBrushProperty System.Windows.DependencyProperty
BorderThicknessProperty System.Windows.DependencyProperty
FontFamilyProperty System.Windows.DependencyProperty
FontSizeProperty System.Windows.DependencyProperty
FontWeightProperty System.Windows.DependencyProperty
ForegroundProperty System.Windows.DependencyProperty
HeightFactorProperty System.Windows.DependencyProperty
ItemsProperty DependencyProperty
PaddingProperty DependencyProperty

Public Methods

Method Description
BillboardTextGroupVisual3D ( ) : System.Collections.Generic

Initializes a new instance of the BillboardTextGroupVisual3D class.

Protected Methods

Method Description
OnCompositionTargetRendering ( object sender, RenderingEventArgs eventArgs ) : void

Handles the CompositionTarget.Rendering event.

OnVisualParentChanged ( DependencyObject oldParent ) : void

Called when the parent of the 3-D visual object is changed.

UpdateGeometry ( ) : void

Updates the geometry.

UpdateTransforms ( ) : bool

Updates the transforms.

Private Methods

Method Description
CreateElement ( string text ) : FrameworkElement
VisualChanged ( ) : void

Updates the text block when the visual appearance changed.

VisualChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

The visual appearance changed.

Method Details

BillboardTextGroupVisual3D() public method

Initializes a new instance of the BillboardTextGroupVisual3D class.
public BillboardTextGroupVisual3D ( ) : System.Collections.Generic
return System.Collections.Generic

OnCompositionTargetRendering() protected method

Handles the CompositionTarget.Rendering event.
protected OnCompositionTargetRendering ( object sender, RenderingEventArgs eventArgs ) : void
sender object The sender.
eventArgs RenderingEventArgs The instance containing the event data.
return void

OnVisualParentChanged() protected method

Called when the parent of the 3-D visual object is changed.
protected OnVisualParentChanged ( DependencyObject oldParent ) : void
oldParent DependencyObject /// A value of type that represents the previous parent of the /// /// object. If the /// /// object did not have a previous parent, the value of the parameter is null. ///
return void

UpdateGeometry() protected method

Updates the geometry.
protected UpdateGeometry ( ) : void
return void

UpdateTransforms() protected method

Updates the transforms.
protected UpdateTransforms ( ) : bool
return bool

Property Details

BackgroundProperty public_oe static_oe property

Identifies the Background dependency property.
public static DependencyProperty,System.Windows BackgroundProperty
return System.Windows.DependencyProperty

BorderBrushProperty public_oe static_oe property

Identifies the BorderBrush dependency property.
public static DependencyProperty,System.Windows BorderBrushProperty
return System.Windows.DependencyProperty

BorderThicknessProperty public_oe static_oe property

Identifies the BorderThickness dependency property.
public static DependencyProperty,System.Windows BorderThicknessProperty
return System.Windows.DependencyProperty

FontFamilyProperty public_oe static_oe property

Identifies the FontFamily dependency property.
public static DependencyProperty,System.Windows FontFamilyProperty
return System.Windows.DependencyProperty

FontSizeProperty public_oe static_oe property

Identifies the FontSize dependency property.
public static DependencyProperty,System.Windows FontSizeProperty
return System.Windows.DependencyProperty

FontWeightProperty public_oe static_oe property

Identifies the FontWeight dependency property.
public static DependencyProperty,System.Windows FontWeightProperty
return System.Windows.DependencyProperty

ForegroundProperty public_oe static_oe property

Identifies the Foreground dependency property.
public static DependencyProperty,System.Windows ForegroundProperty
return System.Windows.DependencyProperty

HeightFactorProperty public_oe static_oe property

Identifies the HeightFactor dependency property.
public static DependencyProperty,System.Windows HeightFactorProperty
return System.Windows.DependencyProperty

ItemsProperty public_oe static_oe property

Identifies the Items dependency property.
public static DependencyProperty ItemsProperty
return DependencyProperty

PaddingProperty public_oe static_oe property

Identifies the Padding dependency property.
public static DependencyProperty PaddingProperty
return DependencyProperty