C# Класс HelixToolkit.Wpf.TextGroupVisual3D

A visual element that shows a collection of text items.
Set the Items property last to avoid multiple updates.
Наследование: System.Windows.Media.Media3D.ModelVisual3D
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

CreateTextMaterial() публичный статический Метод

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.
Результат System.Windows.Media.Media3D.Material

Описание свойств

BackgroundProperty публичное статическое свойство

Identifies the Background dependency property.
public static DependencyProperty,System.Windows BackgroundProperty
Результат System.Windows.DependencyProperty

BorderBrushProperty публичное статическое свойство

Identifies the BorderBrush dependency property.
public static DependencyProperty,System.Windows BorderBrushProperty
Результат System.Windows.DependencyProperty

BorderThicknessProperty публичное статическое свойство

Identifies the BorderThickness dependency property.
public static DependencyProperty,System.Windows BorderThicknessProperty
Результат System.Windows.DependencyProperty

FontFamilyProperty публичное статическое свойство

Identifies the FontFamily dependency property.
public static DependencyProperty,System.Windows FontFamilyProperty
Результат System.Windows.DependencyProperty

FontSizeProperty публичное статическое свойство

Identifies the FontSize dependency property.
public static DependencyProperty,System.Windows FontSizeProperty
Результат System.Windows.DependencyProperty

FontWeightProperty публичное статическое свойство

Identifies the FontWeight dependency property.
public static DependencyProperty,System.Windows FontWeightProperty
Результат System.Windows.DependencyProperty

ForegroundProperty публичное статическое свойство

Identifies the Foreground dependency property.
public static DependencyProperty,System.Windows ForegroundProperty
Результат System.Windows.DependencyProperty

HeightProperty публичное статическое свойство

Identifies the Height dependency property.
public static DependencyProperty,System.Windows HeightProperty
Результат System.Windows.DependencyProperty

IsDoubleSidedProperty публичное статическое свойство

Identifies the IsDoubleSided dependency property.
public static DependencyProperty,System.Windows IsDoubleSidedProperty
Результат System.Windows.DependencyProperty

IsFlippedProperty публичное статическое свойство

Identifies the IsFlipped dependency property.
public static DependencyProperty,System.Windows IsFlippedProperty
Результат System.Windows.DependencyProperty

ItemsProperty публичное статическое свойство

Identifies the Items dependency property.
public static DependencyProperty,System.Windows ItemsProperty
Результат System.Windows.DependencyProperty

PaddingProperty публичное статическое свойство

Identifies the Padding dependency property.
public static DependencyProperty,System.Windows PaddingProperty
Результат System.Windows.DependencyProperty