menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfButtonBase - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfButtonBase

    Represents class for ButtonBase

    Inheritance
    System.Object
    SfButtonBase
    SfRibbonButton
    Implements
    System.IDisposable
    Namespace: Syncfusion.UI.Xaml.Controls.SfRibbon
    Assembly: Syncfusion.SfRibbon.UWP.dll
    Syntax
    [ClassReference(IsReviewed = false)]
    public class SfButtonBase : Button, IDisposable

    Constructors

    SfButtonBase()

    Initializes a new instance of the SfButtonBase class.

    Declaration
    public SfButtonBase()

    Fields

    FontIconFontFamilyProperty

    Using a DependencyProperty as the backing store for FontIconFontFamily. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty FontIconFontFamilyProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    FontIconProperty

    Using a DependencyProperty as the backing store for FontIcon. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty FontIconProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    FontIconSizeProperty

    Using a DependencyProperty as the backing store for FontIconSize. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty FontIconSizeProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    IconProperty

    Using a DependencyProperty as the backing store for Icon. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty IconProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    LabelProperty

    Using a DependencyProperty as the backing store for Label. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty LabelProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    SizeModeProperty

    Using a DependencyProperty as the backing store for SizeMode. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty SizeModeProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    ToolTipProperty

    Using a DependencyProperty as the backing store for ToolTip. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ToolTipProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    Properties

    FontIcon

    Gets or sets the FontIcon.

    Declaration
    [ClassReference(IsReviewed = false)]
    public string FontIcon { get; set; }
    Property Value
    Type Description
    System.String

    The default value is empty string.

    FontIconFontFamily

    Gets or sets the FontIcon's FontFamily.

    Declaration
    [ClassReference(IsReviewed = false)]
    public FontFamily FontIconFontFamily { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.Media.FontFamily

    The default value is null.

    FontIconSize

    Gets or sets the FontIconSize.

    Declaration
    [ClassReference(IsReviewed = false)]
    public double FontIconSize { get; set; }
    Property Value
    Type
    System.Double

    Icon

    Gets or sets the Icon.

    Declaration
    [ClassReference(IsReviewed = false)]
    public ImageSource Icon { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.Media.ImageSource

    The default value is null.

    Label

    Gets or sets the Label.

    Declaration
    [ClassReference(IsReviewed = false)]
    public string Label { get; set; }
    Property Value
    Type Description
    System.String

    The default value is string.Empty

    SizeMode

    Gets or sets the SizeMode.

    Declaration
    [ClassReference(IsReviewed = false)]
    public SizeMode SizeMode { get; set; }
    Property Value
    Type Description
    SizeMode

    The default value is SizeMode.Small

    ToolTip

    Gets or sets the ToolTip.

    Declaration
    [ClassReference(IsReviewed = false)]
    public object ToolTip { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null.

    Methods

    Dispose()

    Dispose method

    Declaration
    public void Dispose()

    Dispose(Boolean)

    method for dispose

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    boolean dispose

    OnApplyTemplate()

    Initializes all the child elements of the ButtonBase

    Declaration
    protected override void OnApplyTemplate()

    OnPointerEntered(PointerRoutedEventArgs)

    Occurs when a pointer enters the area of this element.

    Declaration
    protected override void OnPointerEntered(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Input.PointerRoutedEventArgs e

    parameter for pointer routed event

    OnPointerExited(PointerRoutedEventArgs)

    Occurs when a pointer leaves the area of this element.

    Declaration
    protected override void OnPointerExited(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Input.PointerRoutedEventArgs e

    parameter for pointer routed event

    OnPointerReleased(PointerRoutedEventArgs)

    Method for pointer released

    Declaration
    protected override void OnPointerReleased(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Input.PointerRoutedEventArgs e

    parameter for pointer routed event

    Implements

    System.IDisposable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved