AppearanceInfo - конструктор
Initializes a new instance of the
AppearanceInfo struct.
Инициализирует новый экземпляр класса
Object.
Пространство имён: Tessa.UI.Views.ContentСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.23
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 String
-
Идентификатор внешнего вида
- background Brush
-
Фон
- foreground Brush
-
Цвет переднего плана
- fontFamily FontFamily
-
Шрифт
- fontSize NullableDouble
-
Размер шрифта
- fontStretch NullableFontStretch
-
Степень растяжения шрифта
- fontStyle NullableFontStyle
-
Стиль шрифта
- fontWeight NullableFontWeight
-
Толщина шрифта
- toolTip String
-
Подсказка
- horizontalAlignment NullableHorizontalAlignment
-
Горизонтальное выравнивание
- verticalAlignment NullableVerticalAlignment
-
Вертикальное выравнивание
- textAlignment NullableTextAlignment
-
Горизонтальное выравнивание текста