C# Class HelixToolkit.Wpf.TextGroupVisual3D

A visual element that shows a collection of text items.
Set the Items property last to avoid multiple updates.
Inheritance: System.Windows.Media.Media3D.ModelVisual3D
ファイルを表示 Open project: litdev1/LitDev Class Usage Examples

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
HeightProperty System.Windows.DependencyProperty
IsDoubleSidedProperty System.Windows.DependencyProperty
IsFlippedProperty System.Windows.DependencyProperty
ItemsProperty System.Windows.DependencyProperty
PaddingProperty System.Windows.DependencyProperty

Public Methods

Method Description
CreateTextMaterial ( IEnumerable items, FrameworkElement>.Func createElement, System.Windows.Media.Brush background, FrameworkElement>.Dictionary &elementMap, Rect>.Dictionary &elementPositions ) : System.Windows.Media.Media3D.Material

Creates the text material.

Private Methods

Method Description
CreateElement ( string text ) : FrameworkElement
OptimizeSize ( UIElement panel, int maxWidth ) : int
VisualChanged ( ) : void

Called when the visual changed.

VisualChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

The visual changed.

Method Details

CreateTextMaterial() public static method

Creates the text material.
public static CreateTextMaterial ( IEnumerable items, FrameworkElement>.Func createElement, System.Windows.Media.Brush background, FrameworkElement>.Dictionary &elementMap, Rect>.Dictionary &elementPositions ) : System.Windows.Media.Media3D.Material
items IEnumerable The items.
createElement FrameworkElement>.Func The create element.
background System.Windows.Media.Brush The background.
elementMap FrameworkElement>.Dictionary The element map.
elementPositions Rect>.Dictionary The element positions.
return System.Windows.Media.Media3D.Material

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

HeightProperty public_oe static_oe property

Identifies the Height dependency property.
public static DependencyProperty,System.Windows HeightProperty
return System.Windows.DependencyProperty

IsDoubleSidedProperty public_oe static_oe property

Identifies the IsDoubleSided dependency property.
public static DependencyProperty,System.Windows IsDoubleSidedProperty
return System.Windows.DependencyProperty

IsFlippedProperty public_oe static_oe property

Identifies the IsFlipped dependency property.
public static DependencyProperty,System.Windows IsFlippedProperty
return System.Windows.DependencyProperty

ItemsProperty public_oe static_oe property

Identifies the Items dependency property.
public static DependencyProperty,System.Windows ItemsProperty
return System.Windows.DependencyProperty

PaddingProperty public_oe static_oe property

Identifies the Padding dependency property.
public static DependencyProperty,System.Windows PaddingProperty
return System.Windows.DependencyProperty