Show / Hide Table of Contents

    Class SwipeMenuItem

    Describes a Swipe action button that appears when a cell is swiped

    Inheritance
    Object
    BindableObject
    SwipeMenuItem
    Implements
    INotifyPropertyChanged
    IMenuItem
    Inherited Members
    BindableObject.BindingContextProperty
    BindableObject.ClearValue(BindableProperty)
    BindableObject.ClearValue(BindablePropertyKey)
    BindableObject.GetValue(BindableProperty)
    BindableObject.IsSet(BindableProperty)
    BindableObject.RemoveBinding(BindableProperty)
    BindableObject.SetBinding(BindableProperty, BindingBase)
    BindableObject.ApplyBindings()
    BindableObject.OnBindingContextChanged()
    BindableObject.OnPropertyChanging(String)
    BindableObject.UnapplyBindings()
    BindableObject.SetValue(BindableProperty, Object)
    BindableObject.SetValue(BindablePropertyKey, Object)
    BindableObject.CoerceValue(BindableProperty)
    BindableObject.CoerceValue(BindablePropertyKey)
    BindableObject.Dispatcher
    BindableObject.BindingContext
    BindableObject.PropertyChanged
    BindableObject.PropertyChanging
    BindableObject.BindingContextChanged
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    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

    true if swipe executable; otherwise, false.

    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.

    Overrides
    BindableObject.OnPropertyChanged(String)

    Implements

    System.ComponentModel.INotifyPropertyChanged
    IMenuItem

    Extension Methods

    DebugExtensions.AddToCensus(Object)
    DebugExtensions.RemoveFromCensus(Object)
    ReflectionExtensions.GetProperties(Object)
    ReflectionExtensions.GetProperty(Object, String)
    ReflectionExtensions.PropertyNames(Object)
    ReflectionExtensions.PropertyExists(Object, String)
    ReflectionExtensions.HasProperty(Object, String)
    ReflectionExtensions.GetPropertyValue(Object, String)
    ReflectionExtensions.SetPropertyValue(Object, String, Object)
    ReflectionExtensions.GetFieldValue(Object, String)
    ReflectionExtensions.SetFieldValue(Object, String, Object)
    ReflectionExtensions.CallMethod(Object, String, Object[])
    Back to top Copyright © 2018 42nd Parallel