CreateContentPageWithLifecycleBindableProperty(PropertyTypeT) Method

Com.MarcusTS.LifecycleAware

ContentPageWithLifecycle..::..CreateContentPageWithLifecycleBindableProperty<(Of <(<'PropertyTypeT>)>)> Method

Creates the content page with lifecycle bindable property.

Namespace:  Com.MarcusTS.LifecycleAware.Views.Pages
Assembly:  Com.MarcusTS.LifecycleAware (in Com.MarcusTS.LifecycleAware.dll)

Syntax


public static BindableProperty CreateContentPageWithLifecycleBindableProperty<PropertyTypeT>(
	string localPropName,
	PropertyTypeT defaultVal,
	BindingMode bindingMode,
	Action<ContentPageWithLifecycle, PropertyTypeT, PropertyTypeT> callbackAction
)
Public Shared Function CreateContentPageWithLifecycleBindableProperty(Of PropertyTypeT) ( _
	localPropName As String, _
	defaultVal As PropertyTypeT, _
	bindingMode As BindingMode, _
	callbackAction As Action(Of ContentPageWithLifecycle, PropertyTypeT, PropertyTypeT) _
) As BindableProperty
public:
generic<typename PropertyTypeT>
static BindableProperty^ CreateContentPageWithLifecycleBindableProperty(
	String^ localPropName, 
	PropertyTypeT defaultVal, 
	BindingMode^ bindingMode, 
	Action<ContentPageWithLifecycle^, PropertyTypeT, PropertyTypeT>^ callbackAction
)

Type Parameters

PropertyTypeT
The type of the property type t.

Parameters

localPropName
Type: String
Name of the local property.
defaultVal
Type: PropertyTypeT
The default value.
bindingMode
Type: BindingMode
The binding mode.
callbackAction
Type: Action<(Of <(<'ContentPageWithLifecycle, PropertyTypeT, PropertyTypeT>)>)>
The callback action.

Return Value

BindableProperty.