Class SwipeMenuItem
Describes a Swipe action button that appears when a cell is swiped
Inherited Members
Namespace: Forms9Patch
Assembly: Forms9Patch.dll
Syntax
public class SwipeMenuItem : BindableObject, INotifyPropertyChanged, IDynamicResourceHandler, IMenuItem
Fields
BackgroundColorProperty
The background color property backing store.
Declaration
public static readonly BindableProperty BackgroundColorProperty
Field Value
Type | Description |
---|---|
BindableProperty |
HtmlTextProperty
backing store for HtmlText property
Declaration
public static readonly BindableProperty HtmlTextProperty
Field Value
Type | Description |
---|---|
BindableProperty |
IconFontFamilyProperty
Backing store for SwipeMenuItem IconFontFamily property
Declaration
public static readonly BindableProperty IconFontFamilyProperty
Field Value
Type | Description |
---|---|
BindableProperty |
IconFontSizeProperty
Backing store for SwipeMenuItem IconFontSize property
Declaration
public static readonly BindableProperty IconFontSizeProperty
Field Value
Type | Description |
---|---|
BindableProperty |
IconImageProperty
backing store for IconImage property
Declaration
public static readonly BindableProperty IconImageProperty
Field Value
Type | Description |
---|---|
BindableProperty |
IconTextProperty
The icon text property backing store.
Declaration
public static readonly BindableProperty IconTextProperty
Field Value
Type | Description |
---|---|
BindableProperty |
IsTriggeredOnFullSwipeProperty
The swipe executable property backing store.
Declaration
public static readonly BindableProperty IsTriggeredOnFullSwipeProperty
Field Value
Type | Description |
---|---|
BindableProperty |
KeyProperty
The key property backing store.
Declaration
public static readonly BindableProperty KeyProperty
Field Value
Type | Description |
---|---|
BindableProperty |
TextColorProperty
The text color property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
Type | Description |
---|---|
BindableProperty |
TextProperty
The text property backing store.
Declaration
public static readonly BindableProperty TextProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
BackgroundColor
Gets or sets the color of the background.
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color | The color of the background. |
HtmlText
Gets/Sets the HtmlText property
Declaration
public string HtmlText { get; set; }
Property Value
Type | Description |
---|---|
String |
IconFontFamily
controls value of .IconFontFamily property
Declaration
public string IconFontFamily { get; set; }
Property Value
Type | Description |
---|---|
String |
IconFontSize
controls value of .IconFontSize property
Declaration
public double IconFontSize { get; set; }
Property Value
Type | Description |
---|---|
Double |
IconImage
Gets/Sets the IconImage property
Declaration
public Image IconImage { get; set; }
Property Value
Type | Description |
---|---|
Image |
IconText
Gets or sets the icon text - an alternative to IconImageSource.
Declaration
public string IconText { get; set; }
Property Value
Type | Description |
---|---|
String | The icon text. |
IsTriggeredOnFullSwipe
Gets or sets a value indicating whether this Forms9Patch.SwipeAction swipe executable. Only used if this SwipeAction is at the top of the stack of SwipeActions.
Declaration
public bool IsTriggeredOnFullSwipe { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
Key
Gets or sets the key - used to identify a SwipeMenuEvent. Will return Text if set to null.
Declaration
public string Key { get; set; }
Property Value
Type | Description |
---|---|
String | The key. |
Text
Gets or sets the text (can be in HTML format.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
String | The html text. |
TextColor
Gets or sets the color of the text and icon (image).
Declaration
public Color TextColor { get; set; }
Property Value
Type | Description |
---|---|
Color | The color of the text. |
Methods
OnPropertyChanged(String)
BindableProperty has changed.
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | Property name. |