CardToolbarAction - конструктор |
Пространство имён:
Tessa.UI.Cards
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис public CardToolbarAction(
string name,
string caption,
Object icon,
ICommand command,
string tooltip = null,
FontWeight? captionFontWeight = null,
FontStyle? captionFontStyle = null,
Color? captionForeground = null,
Color? hover = null,
Color? hoverText = null,
int order = 0,
IReadOnlyCollection<InputGesture> gestures = null
)
Public Sub New (
name As String,
caption As String,
icon As Object,
command As ICommand,
Optional tooltip As String = Nothing,
Optional captionFontWeight As FontWeight? = Nothing,
Optional captionFontStyle As FontStyle? = Nothing,
Optional captionForeground As Color? = Nothing,
Optional hover As Color? = Nothing,
Optional hoverText As Color? = Nothing,
Optional order As Integer = 0,
Optional gestures As IReadOnlyCollection(Of InputGesture) = Nothing
)
public:
CardToolbarAction(
String^ name,
String^ caption,
Object^ icon,
ICommand^ command,
String^ tooltip = nullptr,
Nullable<FontWeight> captionFontWeight = nullptr,
Nullable<FontStyle> captionFontStyle = nullptr,
Nullable<Color> captionForeground = nullptr,
Nullable<Color> hover = nullptr,
Nullable<Color> hoverText = nullptr,
int order = 0,
IReadOnlyCollection<InputGesture^>^ gestures = nullptr
)
new :
name : string *
caption : string *
icon : Object *
command : ICommand *
?tooltip : string *
?captionFontWeight : Nullable<FontWeight> *
?captionFontStyle : Nullable<FontStyle> *
?captionForeground : Nullable<Color> *
?hover : Nullable<Color> *
?hoverText : Nullable<Color> *
?order : int *
?gestures : IReadOnlyCollection<InputGesture>
(* Defaults:
let _tooltip = defaultArg tooltip null
let _captionFontWeight = defaultArg captionFontWeight null
let _captionFontStyle = defaultArg captionFontStyle null
let _captionForeground = defaultArg captionForeground null
let _hover = defaultArg hover null
let _hoverText = defaultArg hoverText null
let _order = defaultArg order 0
let _gestures = defaultArg gestures null
*)
-> CardToolbarAction
Параметры
- name
- Тип: SystemString
- caption
- Тип: SystemString
- icon
- Тип: SystemObject
- command
- Тип: System.Windows.InputICommand
- tooltip (Optional)
- Тип: SystemString
- captionFontWeight (Optional)
- Тип: SystemNullableFontWeight
- captionFontStyle (Optional)
- Тип: SystemNullableFontStyle
- captionForeground (Optional)
- Тип: SystemNullableColor
- hover (Optional)
- Тип: SystemNullableColor
- hoverText (Optional)
- Тип: SystemNullableColor
- order (Optional)
- Тип: SystemInt32
- gestures (Optional)
- Тип: System.Collections.GenericIReadOnlyCollectionInputGesture
См. также