Class SillListViewButtonItemMarkup
- Namespace
- WindowSill.API
- Assembly
- WindowSill.API.dll
public static class SillListViewButtonItemMarkup
- Inheritance
-
SillListViewButtonItemMarkup
- Inherited Members
-
Methods
[MarkupExtension]
public static T CommandParameter<T>(this T element, Action<IDependencyPropertyBuilder<object>> configureProperty) where T : SillListViewButtonItem
Parameters
element T
configureProperty Action<IDependencyPropertyBuilder<object>>
Returns
- T
Type Parameters
T
[MarkupExtension]
public static T CommandParameter<T>(this T element, object commandParameter) where T : SillListViewButtonItem
Parameters
element T
commandParameter object
Returns
- T
Type Parameters
T
[MarkupExtension]
public static T CommandParameter<T, TSource>(this T element, Func<TSource> propertyBinding, Func<TSource, object> convertDelegate, string? propertyBindingExpression = null) where T : SillListViewButtonItem
Parameters
element T
propertyBinding Func<TSource>
convertDelegate Func<TSource, object>
propertyBindingExpression string
Returns
- T
Type Parameters
T
TSource
[MarkupExtension]
public static T CommandParameter<T, TSource>(this T element, Func<TSource> propertyBinding, string? propertyBindingExpression = null) where T : SillListViewButtonItem
Parameters
element T
propertyBinding Func<TSource>
propertyBindingExpression string
Returns
- T
Type Parameters
T
TSource
[MarkupExtension]
public static T Command<T>(this T element, IAsyncRelayCommand command) where T : SillListViewButtonItem
Parameters
element T
command IAsyncRelayCommand
Returns
- T
Type Parameters
T
[MarkupExtension]
public static T Command<T>(this T element, Action<IDependencyPropertyBuilder<IAsyncRelayCommand>> configureProperty) where T : SillListViewButtonItem
Parameters
element T
configureProperty Action<IDependencyPropertyBuilder<IAsyncRelayCommand>>
Returns
- T
Type Parameters
T
[MarkupExtension]
public static T Command<T, TSource>(this T element, Func<TSource> propertyBinding, Func<TSource, IAsyncRelayCommand> convertDelegate, string? propertyBindingExpression = null) where T : SillListViewButtonItem
Parameters
element T
propertyBinding Func<TSource>
convertDelegate Func<TSource, IAsyncRelayCommand>
propertyBindingExpression string
Returns
- T
Type Parameters
T
TSource
[MarkupExtension]
public static T Command<T, TSource>(this T element, Func<TSource> propertyBinding, string? propertyBindingExpression = null) where T : SillListViewButtonItem
Parameters
element T
propertyBinding Func<TSource>
propertyBindingExpression string
Returns
- T
Type Parameters
T
TSource
ContentTemplate(SillListViewButtonItem, Func<UIElement>)
[MarkupExtension]
public static SillListViewButtonItem ContentTemplate(this SillListViewButtonItem element, Func<UIElement> dataTemplateDelegate)
Parameters
element SillListViewButtonItem
dataTemplateDelegate Func<UIElement>
Returns
- SillListViewButtonItem
ContentTemplate<TItem>(SillListViewButtonItem, Func<TItem, UIElement>)
[MarkupExtension]
public static SillListViewButtonItem ContentTemplate<TItem>(this SillListViewButtonItem element, Func<TItem, UIElement> dataTemplateDelegate)
Parameters
element SillListViewButtonItem
dataTemplateDelegate Func<TItem, UIElement>
Returns
- SillListViewButtonItem
Type Parameters
TItem
ContentTemplate<TItem, TRoot>(SillListViewButtonItem, Action<TItem, TRoot>)
[MarkupExtension]
public static SillListViewButtonItem ContentTemplate<TItem, TRoot>(this SillListViewButtonItem element, Action<TItem, TRoot> configureRoot) where TRoot : UIElement, new()
Parameters
element SillListViewButtonItem
configureRoot Action<TItem, TRoot>
Returns
- SillListViewButtonItem
Type Parameters
TItem
TRoot
[MarkupExtension]
public static TControl Template<TControl>(this TControl element, Func<UIElement> controlTemplateDelegate) where TControl : SillListViewButtonItem
Parameters
element TControl
controlTemplateDelegate Func<UIElement>
Returns
- TControl
Type Parameters
TControl