ContentViewWithLifecycle..::..CreateContentViewWithLifecycleBindableProperty<(Of <(<'PropertyTypeT>)>)> Method
Creates the content view with lifecycle bindable property.
Namespace:
Com.MarcusTS.LifecycleAware.Views.SubViews
Assembly:
Com.MarcusTS.LifecycleAware (in Com.MarcusTS.LifecycleAware.dll)
Syntax
public static BindableProperty CreateContentViewWithLifecycleBindableProperty<PropertyTypeT>( string localPropName, PropertyTypeT defaultVal, BindingMode bindingMode, Action<ContentViewWithLifecycle, PropertyTypeT, PropertyTypeT> callbackAction )
Public Shared Function CreateContentViewWithLifecycleBindableProperty(Of PropertyTypeT) ( _ localPropName As String, _ defaultVal As PropertyTypeT, _ bindingMode As BindingMode, _ callbackAction As Action(Of ContentViewWithLifecycle, PropertyTypeT, PropertyTypeT) _ ) As BindableProperty
public: generic<typename PropertyTypeT> static BindableProperty^ CreateContentViewWithLifecycleBindableProperty( String^ localPropName, PropertyTypeT defaultVal, BindingMode^ bindingMode, Action<ContentViewWithLifecycle^, 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 <(<'ContentViewWithLifecycle, PropertyTypeT, PropertyTypeT>)>)>
The callback action.