The ContextPopupEffectBehavior is a behavior which allows you to add a context popup.
Inheritance
System.Object
ContextPopupEffectBehavior
Assembly: Tizen.Wearable.CircularUI.Forms.dll
public class ContextPopupEffectBehavior : Behavior<View>
Fields
AcceptCommandParameterProperty
BindableProperty. Identifies the AcceptCommandParameter bindable property.
Declaration
public static readonly BindableProperty AcceptCommandParameterProperty
Field Value
Type |
Description |
BindableProperty |
|
AcceptCommandProperty
BindableProperty. Identifies the AcceptCommand bindable property. AcceptCommand is executed when the Accept button is pressed.
Declaration
public static readonly BindableProperty AcceptCommandProperty
Field Value
Type |
Description |
BindableProperty |
|
BindableProperty. Identifies the AcceptText bindable property. AcceptText is to use as Accept button
Declaration
public static readonly BindableProperty AcceptTextProperty
Field Value
Type |
Description |
BindableProperty |
|
CancelCommandParameterProperty
BindableProperty. Identifies the CancelCommandParameter bindable property.
Declaration
public static readonly BindableProperty CancelCommandParameterProperty
Field Value
Type |
Description |
BindableProperty |
|
CancelCommandProperty
BindableProperty. Identifies the CancelCommand bindable property. CancelCommand is executed when the Cancel button is pressed, even if the popup disappears by selecting outside the popup.
Declaration
public static readonly BindableProperty CancelCommandProperty
Field Value
Type |
Description |
BindableProperty |
|
BindableProperty. Identifies the CancelText bindable property. CancelText is to use as Cancel button
Declaration
public static readonly BindableProperty CancelTextProperty
Field Value
Type |
Description |
BindableProperty |
|
BindableProperty. Identifies the Offset bindable property. Offset is a value of how far to move from the base tap position represented by the PositionOption type. If it isn't set, it returns 0,0.
Declaration
public static readonly BindableProperty OffsetProperty
Field Value
Type |
Description |
BindableProperty |
|
BindableProperty. Identifies the PositionOption bindable property.
Declaration
public static readonly BindableProperty PositionOptionProperty
Field Value
Type |
Description |
BindableProperty |
|
BindableProperty. Identifies the ConfirmVisibility bindable property. Popup appears if ConfirmVisibility is True, and disappears when it becomes False. CancelCommand works even if it disappears to False.
Declaration
public static readonly BindableProperty VisibilityProperty
Field Value
Type |
Description |
BindableProperty |
|
Properties
AcceptCommand
Gets or sets command that is executed when the Accept button is pressed.
Declaration
public ICommand AcceptCommand { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
AcceptCommandParameter
Gets or sets command paramter that is executed when the Accept button is pressed.
Declaration
public object AcceptCommandParameter { get; set; }
Property Value
Type |
Description |
System.Object |
|
Gets or sets text of Accept button
Declaration
public string AcceptText { get; set; }
Property Value
Type |
Description |
System.String |
|
CancelCommand
Gets or sets command that is executed when the Cancel button is pressed, even if the popup disappears by selecting outside the popup.
Declaration
public ICommand CancelCommand { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
CancelCommandParameter
Gets or sets command that is executed when the Cancel button is pressed, even if the popup disappears by selecting outside the popup.
Declaration
public object CancelCommandParameter { get; set; }
Property Value
Type |
Description |
System.Object |
|
Gets or sets text of Cancel button
Declaration
public string CancelText { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets offset. Offset is a value of how far to move from the base tap position represented by the PositionOption type. If it isn't set, it returns 0,0.
Declaration
public Point Offset { get; set; }
Property Value
Gets or sets position type of popup
Declaration
public PositionOption PositionOption { get; set; }
Property Value
Gets visibility of Confirmation popup. Popup appears if ConfirmVisibility is True, and disappears when it becomes False. CancelCommand works even if it disappears to False.
Declaration
public bool Visibility { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Declaration
protected override void OnAttachedTo(View view)
Parameters
Type |
Name |
Description |
View |
view |
|
Declaration
protected override void OnDetachingFrom(View view)
Parameters
Type |
Name |
Description |
View |
view |
|