Show / Hide Table of Contents

    Interface IButton

    Interface for Forms9Patch button elements

    Inherited Members
    IButtonController.SendClicked()
    IButtonController.SendPressed()
    IButtonController.SendReleased()
    IVisualElementController.NativeSizeChanged()
    IVisualElementController.InvalidateMeasure(InvalidationTrigger)
    IVisualElementController.Batched
    IVisualElementController.DisableLayout
    IVisualElementController.EffectiveFlowDirection
    IVisualElementController.IsInNativeLayout
    IVisualElementController.IsNativeStateConsistent
    IVisualElementController.IsPlatformEnabled
    IVisualElementController.NavigationProxy
    IVisualElementController.BatchCommitted
    IVisualElementController.FocusChangeRequested
    IElementController.EffectIsAttached(String)
    IElementController.SetValueFromRenderer(BindableProperty, Object)
    IElementController.SetValueFromRenderer(BindablePropertyKey, Object)
    IElementController.Descendants()
    IElementController.EffectControlProvider
    IElementController.LogicalChildren
    IElementController.RealParent
    IButtonState.IconImage
    IButtonState.IconText
    IButtonState.TrailingIcon
    IButtonState.TintIcon
    IButtonState.IconColor
    IButtonState.IconFontFamily
    IButtonState.IconFontSize
    IButtonState.HasTightSpacing
    IButtonState.Spacing
    IButtonState.Orientation
    IBackground.BackgroundImage
    IShape.BackgroundColor
    IShape.HasShadow
    IShape.ShadowInverted
    IShape.OutlineColor
    IShape.OutlineRadius
    IShape.OutlineWidth
    IShape.BorderColor
    IShape.BorderRadius
    IShape.BorderWidth
    IShape.ElementShape
    ILabel.Text
    ILabel.HtmlText
    ILabel.FittedFontSize
    ILabel.SynchronizedFontSize
    ILabelStyle.TextColor
    ILabelStyle.HorizontalTextAlignment
    ILabelStyle.VerticalTextAlignment
    ILabelStyle.LineBreakMode
    ILabelStyle.AutoFit
    ILabelStyle.Lines
    ILabelStyle.MinFontSize
    IFontElement.FontAttributes
    IFontElement.FontFamily
    IFontElement.FontSize
    IElement.InstanceId
    Namespace: Forms9Patch
    Assembly: Forms9Patch.dll
    Syntax
    public interface IButton : IButtonController, IViewController, IVisualElementController, IElementController, IButtonState, IBackground, IShape, ILabel, ILabelStyle, IFontElement, IElement

    Properties

    Command

    Gets/Sets ICommand invoked when button is clicked

    Declaration
    ICommand Command { get; set; }
    Property Value
    Type Description
    ICommand

    CommandParameter

    Gets/Sets command parameter used when Command is invoked

    Declaration
    object CommandParameter { get; set; }
    Property Value
    Type Description
    Object

    HapticEffect

    Get/Sets the haptic effect to be performed when button is clicked

    Declaration
    HapticEffect HapticEffect { get; set; }
    Property Value
    Type Description
    HapticEffect

    HapticEffectMode

    Gets/Sets the haptic mode used to determine if a HapticEffect will occur when button is clicked

    Declaration
    EffectMode HapticEffectMode { get; set; }
    Property Value
    Type Description
    EffectMode

    IsEnabled

    Gets/Sets if the button is enabled

    Declaration
    bool IsEnabled { get; set; }
    Property Value
    Type Description
    Boolean

    IsSelected

    Gets/Sets if the button is selected

    Declaration
    bool IsSelected { get; set; }
    Property Value
    Type Description
    Boolean

    SelectedBackgroundColor

    Gets/Sets background color used when button is selected

    Declaration
    Color SelectedBackgroundColor { get; set; }
    Property Value
    Type Description
    Color

    SelectedTextColor

    Gets/Sets color of text when button is selected

    Declaration
    Color SelectedTextColor { get; set; }
    Property Value
    Type Description
    Color

    SoundEffect

    Get/Sets the sound effect to be performed when button is clicked

    Declaration
    SoundEffect SoundEffect { get; set; }
    Property Value
    Type Description
    SoundEffect

    SoundEffectMode

    Gets/Sets the sound mode used to determine if a SoundEffect will occur when button is clicked

    Declaration
    EffectMode SoundEffectMode { get; set; }
    Property Value
    Type Description
    EffectMode

    ToggleBehavior

    Gets/Sets if button stays in selected or unselected state with one click and requires a second click to return

    Declaration
    bool ToggleBehavior { get; set; }
    Property Value
    Type Description
    Boolean

    Extension Methods

    FontExtensions.LineHeight(IFontElement)
    FontExtensions.LineSpace(IFontElement)
    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