Class SfDropDownButton
Represents a control that provides a list of items when pressed
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Controls.Input
Assembly: Syncfusion.SfInput.UWP.dll
Syntax
public class SfDropDownButton : ContentControl, IDisposable
Constructors
SfDropDownButton()
Initializes a new instance of the SfDropDownButton class.
Declaration
[ClassReference(IsReviewed = false)]
public SfDropDownButton()
Fields
AccentBrushProperty
Using a DependencyProperty as the backing store for AccentBrush. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty AccentBrushProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DropDownContentProperty
Using a DependencyProperty as the backing store for DropDownContent. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DropDownContentProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DropDownContentTemplateProperty
Using a DependencyProperty as the backing store for DropDownContentTemplate. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DropDownContentTemplateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DropDownDirectionProperty
Using a DependencyProperty as the backing store for DropDownDirection. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DropDownDirectionProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DropDownHeightProperty
Using a DependencyProperty as the backing store for DropDownHeight. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DropDownHeightProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
IsDropDownOpenProperty
Using a DependencyProperty as the backing store for IsDropDownOpen. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty IsDropDownOpenProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
AccentBrush
Gets or sets the accent brush
Declaration
public Brush AccentBrush { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
DropDownContent
Gets or sets the content of the SfDropDownButton control.
Declaration
public object DropDownContent { get; set; }
Property Value
Type |
---|
System.Object |
DropDownContentTemplate
Gets or sets the template for the content of the SfDropDownButton control.
Declaration
public DataTemplate DropDownContentTemplate { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.DataTemplate |
DropDownDirection
Gets or sets the direction of the SfDropDownButton control.
Declaration
public DropDownDirection DropDownDirection { get; set; }
Property Value
Type |
---|
DropDownDirection |
DropDownHeight
Gets or sets the height of the SfDropDownButton control.
Declaration
public double DropDownHeight { get; set; }
Property Value
Type |
---|
System.Double |
IsDropDownOpen
Returns a value when set
Declaration
public bool IsDropDownOpen { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
Dispose()
Declaration
public void Dispose()
OnApplyTemplate()
Initializes all the child elements of SfDropDownButton control.
Declaration
protected override void OnApplyTemplate()