AppearanceInfo - конструктор |
Initializes a new instance of the
AppearanceInfo struct.
Инициализирует новый экземпляр класса
Object.
Пространство имён:
Tessa.UI.Views.Content
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис public AppearanceInfo(
[NotNullAttribute] string key,
[CanBeNullAttribute] Brush background,
[CanBeNullAttribute] Brush foreground,
[CanBeNullAttribute] FontFamily fontFamily,
[CanBeNullAttribute] double? fontSize,
[CanBeNullAttribute] FontStretch? fontStretch,
[CanBeNullAttribute] FontStyle? fontStyle,
[CanBeNullAttribute] FontWeight? fontWeight,
[CanBeNullAttribute] string toolTip,
[CanBeNullAttribute] HorizontalAlignment? horizontalAlignment,
[CanBeNullAttribute] VerticalAlignment? verticalAlignment,
[CanBeNullAttribute] TextAlignment? textAlignment
)
Public Sub New (
<NotNullAttribute> key As String,
<CanBeNullAttribute> background As Brush,
<CanBeNullAttribute> foreground As Brush,
<CanBeNullAttribute> fontFamily As FontFamily,
<CanBeNullAttribute> fontSize As Double?,
<CanBeNullAttribute> fontStretch As FontStretch?,
<CanBeNullAttribute> fontStyle As FontStyle?,
<CanBeNullAttribute> fontWeight As FontWeight?,
<CanBeNullAttribute> toolTip As String,
<CanBeNullAttribute> horizontalAlignment As HorizontalAlignment?,
<CanBeNullAttribute> verticalAlignment As VerticalAlignment?,
<CanBeNullAttribute> textAlignment As TextAlignment?
)
public:
AppearanceInfo(
[NotNullAttribute] String^ key,
[CanBeNullAttribute] Brush^ background,
[CanBeNullAttribute] Brush^ foreground,
[CanBeNullAttribute] FontFamily^ fontFamily,
[CanBeNullAttribute] Nullable<double> fontSize,
[CanBeNullAttribute] Nullable<FontStretch> fontStretch,
[CanBeNullAttribute] Nullable<FontStyle> fontStyle,
[CanBeNullAttribute] Nullable<FontWeight> fontWeight,
[CanBeNullAttribute] String^ toolTip,
[CanBeNullAttribute] Nullable<HorizontalAlignment> horizontalAlignment,
[CanBeNullAttribute] Nullable<VerticalAlignment> verticalAlignment,
[CanBeNullAttribute] Nullable<TextAlignment> textAlignment
)
new :
[<NotNullAttribute>] key : string *
[<CanBeNullAttribute>] background : Brush *
[<CanBeNullAttribute>] foreground : Brush *
[<CanBeNullAttribute>] fontFamily : FontFamily *
[<CanBeNullAttribute>] fontSize : Nullable<float> *
[<CanBeNullAttribute>] fontStretch : Nullable<FontStretch> *
[<CanBeNullAttribute>] fontStyle : Nullable<FontStyle> *
[<CanBeNullAttribute>] fontWeight : Nullable<FontWeight> *
[<CanBeNullAttribute>] toolTip : string *
[<CanBeNullAttribute>] horizontalAlignment : Nullable<HorizontalAlignment> *
[<CanBeNullAttribute>] verticalAlignment : Nullable<VerticalAlignment> *
[<CanBeNullAttribute>] textAlignment : Nullable<TextAlignment> -> AppearanceInfo
Параметры
- key
- Тип: SystemString
Идентификатор внешнего вида
- background
- Тип: System.Windows.MediaBrush
Фон
- foreground
- Тип: System.Windows.MediaBrush
Цвет переднего плана
- fontFamily
- Тип: System.Windows.MediaFontFamily
Шрифт
- fontSize
- Тип: SystemNullableDouble
Размер шрифта
- fontStretch
- Тип: SystemNullableFontStretch
Степень растяжения шрифта
- fontStyle
- Тип: SystemNullableFontStyle
Стиль шрифта
- fontWeight
- Тип: SystemNullableFontWeight
Толщина шрифта
- toolTip
- Тип: SystemString
Подсказка
- horizontalAlignment
- Тип: SystemNullableHorizontalAlignment
Горизонтальное выравнивание
- verticalAlignment
- Тип: SystemNullableVerticalAlignment
Вертикальное выравнивание
- textAlignment
- Тип: SystemNullableTextAlignment
Горизонтальное выравнивание текста
См. также