AppearanceInfo - конструктор
Создаёт экземпляр класса с указанием значений её свойств.
Пространство имён: Tessa.UI.Views.ContentСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public AppearanceInfo(
string key,
Brush? background,
Brush? foreground,
FontFamily? fontFamily,
double? fontSize,
FontStretch?? fontStretch,
FontStyle?? fontStyle,
FontWeight?? fontWeight,
string? toolTip,
HorizontalAlignment?? horizontalAlignment,
VerticalAlignment?? verticalAlignment,
TextAlignment?? textAlignment
)
Public Sub New (
key As String,
background As Brush,
foreground As Brush,
fontFamily As FontFamily,
fontSize As Double?,
fontStretch As FontStretch?,
fontStyle As FontStyle?,
fontWeight As FontWeight?,
toolTip As String,
horizontalAlignment As HorizontalAlignment?,
verticalAlignment As VerticalAlignment?,
textAlignment As TextAlignment?
)
public:
AppearanceInfo(
String^ key,
Brush^ background,
Brush^ foreground,
FontFamily^ fontFamily,
Nullable<double> fontSize,
Nullable<FontStretch^> fontStretch,
Nullable<FontStyle^> fontStyle,
Nullable<FontWeight^> fontWeight,
String^ toolTip,
Nullable<HorizontalAlignment^> horizontalAlignment,
Nullable<VerticalAlignment^> verticalAlignment,
Nullable<TextAlignment^> textAlignment
)
new :
key : string *
background : Brush *
foreground : Brush *
fontFamily : FontFamily *
fontSize : Nullable<float> *
fontStretch : Nullable<FontStretch> *
fontStyle : Nullable<FontStyle> *
fontWeight : Nullable<FontWeight> *
toolTip : string *
horizontalAlignment : Nullable<HorizontalAlignment> *
verticalAlignment : Nullable<VerticalAlignment> *
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
- Горизонтальное выравнивание текста.