Class SfComboBox
Represents the control for choosing an option from drop down list. It also supports to filter the suggestions based on typed text.
Inheritance
Namespace: Syncfusion.XForms.WPF.ComboBox
Assembly: Syncfusion.SfComboBox.XForms.WPF.dll
Syntax
public class SfComboBox : TextBox
Constructors
SfComboBox()
Initializes a new instance of the SfComboBox class.
Declaration
public SfComboBox()
Fields
AllowFilteringProperty
Gets or sets a value indicating whether filtering is allowed in ComboBox. It is a dependency property.
Declaration
public static readonly DependencyProperty AllowFilteringProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
BackgroundProperty
Gets or sets the background color for the comboBox. It is a dependency property.
Declaration
public static readonly DependencyProperty BackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ClearButtonColorProperty
Gets or sets a the color for clear button. It is a dependency property.
Declaration
public static readonly DependencyProperty ClearButtonColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ComboBoxItemTemplateProperty
Gets or sets the custom view for ComboBox. It is a dependency property.
Declaration
public static readonly DependencyProperty ComboBoxItemTemplateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ComboBoxModeProperty
Using a DependencyProperty as the backing store for ComboBoxMode. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ComboBoxModeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ComboBoxSourceProperty
Gets or sets the custom view for ComboBox. It is a dependency property.
Declaration
public static readonly DependencyProperty ComboBoxSourceProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CustomViewProperty
Gets or sets the custom view for ComboBox. It is a dependency property.
Declaration
public static readonly DependencyProperty CustomViewProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
DelimiterProperty
Using a DependencyProperty as the backing store for Delimiter. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DelimiterProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
DropDownBackgroundProperty
Gets or sets the background color for the drop down. It is a dependency property.
Declaration
public static readonly DependencyProperty DropDownBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
DropDownBorderColorProperty
Using a DependencyProperty as the backing store for DropDownBorderColor. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DropDownBorderColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
DropDownButtonSettingsProperty
Gets or sets the settings for dropdown button. It is a dependency property.
Declaration
public static readonly DependencyProperty DropDownButtonSettingsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
DropDownClosing
Dropdown closing event.
Declaration
public EventHandler<DropDownCancelEventArgs> DropDownClosing
Field Value
Type |
---|
System.EventHandler<DropDownCancelEventArgs> |
DropDownCornerRadiusProperty
Gets or sets the corner radius for dropdown . It is a dependency property.
Declaration
public static readonly DependencyProperty DropDownCornerRadiusProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
DropDownFooterViewHeightProperty
Gets or sets the height for drop down footer view. It is a dependency property.
Declaration
public static readonly DependencyProperty DropDownFooterViewHeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
DropDownFooterViewProperty
Gets or sets the value for drop down footer view. It is a dependency property.
Declaration
public static readonly DependencyProperty DropDownFooterViewProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
DropDownHeaderViewHeightProperty
Gets or sets the height for drop down header view. It is a dependency property.
Declaration
public static readonly DependencyProperty DropDownHeaderViewHeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
DropDownHeaderViewProperty
Gets or sets the value for drop down header view. It is a dependency property.
Declaration
public static readonly DependencyProperty DropDownHeaderViewProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
DropDownWidthProperty
Using a DependencyProperty as the backing store for DropDownWidth. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DropDownWidthProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
EnableAutoSizeProperty
Using a DependencyProperty as the backing store for EnableAutoSize. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty EnableAutoSizeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
EnableSelectionIndicatorProperty
Gets or sets the custom view for ComboBox. It is a dependency property.
Declaration
public static readonly DependencyProperty EnableSelectionIndicatorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FilteredItemsProperty
Using a DependencyProperty as the backing store for FilteredItems. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty FilteredItemsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
HighlightedTextColorProperty
Using a DependencyProperty as the backing store for HighlightedTextColor. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty HighlightedTextColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
HighlightedTextFontStyleProperty
Using a DependencyProperty as the backing store for HighlightTextFontAttributes. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty HighlightedTextFontStyleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
HighlightedTextFontWeightProperty
Using a DependencyProperty as the backing store for HighlightFontWeight. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty HighlightedTextFontWeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IgnoreDiacriticProperty
Gets or sets a value indicating whether diacritics are ignored in filtering suggestions. It is a dependency property.
Declaration
public static readonly DependencyProperty IgnoreDiacriticProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ImageMemberPathProperty
Using a DependencyProperty as the backing store for TokenIconPath. It is a dependency property.
Declaration
public static readonly DependencyProperty ImageMemberPathProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IndicatorFontFamilyProperty
Gets or sets the custom view for ComboBox. It is a dependency property.
Declaration
public static readonly DependencyProperty IndicatorFontFamilyProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IndicatorTextColorProperty
Gets or sets the custom view for ComboBox. It is a dependency property.
Declaration
public static readonly DependencyProperty IndicatorTextColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IndicatorTextProperty
Gets or sets the custom view for ComboBox. It is a dependency property.
Declaration
public static readonly DependencyProperty IndicatorTextProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IndicatorTextSizeProperty
Gets or sets the custom view for ComboBox. It is a dependency property.
Declaration
public static readonly DependencyProperty IndicatorTextSizeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsEditableProperty
Gets or sets the custom view for ComboBox. It is a dependency property.
Declaration
public static readonly DependencyProperty IsEditableProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsFocusedProperty
Gets or sets a value indicating whether the control is focused. It is a dependency property.
Declaration
public static readonly DependencyProperty IsFocusedProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsSelectedItemsVisibleInDropDownProperty
Gets or sets a value indicating whether selected items are shown in drop down. It is a dependency property.
Declaration
public static readonly DependencyProperty IsSelectedItemsVisibleInDropDownProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsSuggestionOpenProperty
Gets or sets the custom view for ComboBox. It is a dependency property.
Declaration
public static readonly DependencyProperty IsSuggestionOpenProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ItemPaddingProperty
Gets or sets the custom view for ComboBox. It is a dependency property.
Declaration
public static readonly DependencyProperty ItemPaddingProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
LoadMoreTextProperty
Gets or sets the load more text. It is a dependency property.
Declaration
public static readonly DependencyProperty LoadMoreTextProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MaxDropDownHeightProperty
Using a DependencyProperty as the backing store for MaxDropDownHeight. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty MaxDropDownHeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MaximumSuggestionProperty
// Using a DependencyProperty as the backing store for MaximumSuggestion. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty MaximumSuggestionProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MinimumPrefixCharactersProperty
Using a DependencyProperty as the backing store for MinimumPrefixCharacters. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty MinimumPrefixCharactersProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MultiSelectModeProperty
Using a DependencyProperty as the backing store for ComboBoxtype. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty MultiSelectModeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
NoResultsFoundFontFamilyProperty
Gets or sets the no result found font family. It is a dependency property.
Declaration
public static readonly DependencyProperty NoResultsFoundFontFamilyProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
NoResultsFoundFontSizeProperty
Gets or sets the no result found text size. It is a dependency property.
Declaration
public static readonly DependencyProperty NoResultsFoundFontSizeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
NoResultsFoundFontStyleProperty
Gets or sets the no result found font style. It is a dependency property.
Declaration
public static readonly DependencyProperty NoResultsFoundFontStyleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
NoResultsFoundFontWeightProperty
Gets or sets the no result found font weight. It is a dependency property.
Declaration
public static readonly DependencyProperty NoResultsFoundFontWeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
NoResultsFoundTextColorProperty
Gets or sets the no result found text color. It is a dependency property.
Declaration
public static readonly DependencyProperty NoResultsFoundTextColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
NoResultsFoundTextProperty
Gets or sets the no result found text. It is a dependency property.
Declaration
public static readonly DependencyProperty NoResultsFoundTextProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
PopupDelayProperty
Using a DependencyProperty as the backing store for PopupDelay. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty PopupDelayProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SearchDelayProperty
Using a DependencyProperty as the backing store for SearchDelay. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SearchDelayProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SearchItemPathProperty
Gets or sets the custom view for ComboBox. It is a dependency property.
Declaration
public static readonly DependencyProperty SearchItemPathProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SelectedDropDownItemColorProperty
Using a DependencyProperty as the backing store for SelectedDropDownItemColor. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SelectedDropDownItemColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SelectedItemProperty
Using a DependencyProperty as the backing store for SelectedItem. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SelectedItemProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SelectedValueProperty
Using a DependencyProperty as the backing store for SelectedItem. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SelectedValueProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SelectionTypeProperty
Identifies the SelectionType bindable property. This property indicates whether the Selection Type is Default or not.
Declaration
public static readonly DependencyProperty SelectionTypeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShowBorderProperty
Gets or sets a value indicating whether border is shown. It is a dependency property.
Declaration
public static readonly DependencyProperty ShowBorderProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShowClearButtonProperty
Gets or sets a value indicating whether clear button is shown. It is a dependency property.
Declaration
public static readonly DependencyProperty ShowClearButtonProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShowDropDownFooterViewProperty
Gets or sets a value indicating whether drop down footer view is shown. It is a dependency property.
Declaration
public static readonly DependencyProperty ShowDropDownFooterViewProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShowDropDownHeaderViewProperty
Gets or sets a value indicating whether drop down header view is shown. It is a dependency property.
Declaration
public static readonly DependencyProperty ShowDropDownHeaderViewProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShowSuggestionsOnFocusProperty
Using a DependencyProperty as the backing store for ShowSuggestionsOnFocus. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ShowSuggestionsOnFocusProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SuggestionBoxPlacementProperty
Using a DependencyProperty as the backing store for ComboBoxMode. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SuggestionBoxPlacementProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SuggestionBoxPositionProperty
Gets or sets the custom view for ComboBox. It is a dependency property.
Declaration
public static readonly DependencyProperty SuggestionBoxPositionProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SuggestionBoxStyleProperty
Using a DependencyProperty as the backing store for SuggestionBoxStyle. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SuggestionBoxStyleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SuggestionIndexProperty
Using a DependencyProperty as the backing store for SuggestionIndex. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SuggestionIndexProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SuggestionItemFontFamilyProperty
Using a DependencyProperty as the backing store for SuggestionItemFontFamily. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SuggestionItemFontFamilyProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SuggestionItemFontSizeProperty
Using a DependencyProperty as the backing store for SuggestionItemFontSize. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SuggestionItemFontSizeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SuggestionItemFontStyleProperty
Using a DependencyProperty as the backing store for SuggestionItemFontStyle. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SuggestionItemFontStyleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SuggestionItemFontWeightProperty
Using a DependencyProperty as the backing store for SuggestionItemFontWeight. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SuggestionItemFontWeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SuggestionItemForegroundProperty
Using a DependencyProperty as the backing store for SuggestionItemForeground. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SuggestionItemForegroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SuggestionItemHeightProperty
Using a DependencyProperty as the backing store for SuggestionItemHeight. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SuggestionItemHeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SuggestionModeProperty
Using a DependencyProperty as the backing store for ComboBoxMode. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SuggestionModeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SuggestionsProperty
Using a DependencyProperty as the backing store for Suggestions. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty SuggestionsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TextHighlightModeProperty
// Using a DependencyProperty as the backing store for TextHighlightMode. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TextHighlightModeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TokenSettingsProperty
Gets or sets the TokenSettings for ComboBox. It is a dependency property.
Declaration
public static readonly DependencyProperty TokenSettingsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TokensWrapModeProperty
Using a DependencyProperty as the backing store for TokenLayoutMode. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TokensWrapModeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ValueMemberPathProperty
Using a DependencyProperty as the backing store for ValueMemberPath. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ValueMemberPathProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
WatermarkForegroundProperty
Using a DependencyProperty as the backing store for WatermarkForeground. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty WatermarkForegroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
WatermarkProperty
Using a DependencyProperty as the backing store for Watermark. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty WatermarkProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
AllowFiltering
Declaration
public bool AllowFiltering { get; set; }
Property Value
Type |
---|
System.Boolean |
Background
Base background color property.
Declaration
public Brush Background { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
ClearButtonColor
Gets or sets the color for clear button.
Declaration
public Brush ClearButtonColor { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
ComboBoxItemTemplate
Declaration
public DataTemplate ComboBoxItemTemplate { get; set; }
Property Value
Type |
---|
System.Windows.DataTemplate |
ComboBoxMode
Declaration
public ComboBoxMode ComboBoxMode { get; set; }
Property Value
Type |
---|
ComboBoxMode |
ComboBoxSource
Declaration
public IEnumerable ComboBoxSource { get; set; }
Property Value
Type |
---|
System.Collections.IEnumerable |
CustomView
Gets or sets the custom view for ComboBox.
Declaration
public object CustomView { get; set; }
Property Value
Type |
---|
System.Object |
Delimiter
Gets or sets a string as a delimiter
Declaration
public string Delimiter { get; set; }
Property Value
Type |
---|
System.String |
DropDownBackground
Declaration
public Brush DropDownBackground { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
DropDownBorderColor
Gets or sets a value to change drop down border color
Declaration
public Brush DropDownBorderColor { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
DropDownButtonSettings
Declaration
public DropDownButtonSettings DropDownButtonSettings { get; set; }
Property Value
Type |
---|
DropDownButtonSettings |
DropDownCornerRadius
Gets or sets the corner radius for the drop down.
Declaration
public double DropDownCornerRadius { get; set; }
Property Value
Type |
---|
System.Double |
DropDownFooterView
Gets or sets the dropdown footer view.
Declaration
public object DropDownFooterView { get; set; }
Property Value
Type |
---|
System.Object |
DropDownFooterViewHeight
Gets or sets the dropdown footer view height.
Declaration
public double DropDownFooterViewHeight { get; set; }
Property Value
Type |
---|
System.Double |
DropDownHeaderView
Gets or sets the dropdown header view.
Declaration
public object DropDownHeaderView { get; set; }
Property Value
Type |
---|
System.Object |
DropDownHeaderViewHeight
Gets or sets the dropdown header view height.
Declaration
public double DropDownHeaderViewHeight { get; set; }
Property Value
Type |
---|
System.Double |
DropDownWidth
Gets or sets the value of DropDownWidth.
Declaration
public double DropDownWidth { get; set; }
Property Value
Type |
---|
System.Double |
EnableAutoSize
Gets or sets a value to change of enable auto size
Declaration
public bool EnableAutoSize { get; set; }
Property Value
Type |
---|
System.Boolean |
EnableSelectionIndicator
Gets or Sets the value of EnableSelectionIndicator
Declaration
public bool EnableSelectionIndicator { get; set; }
Property Value
Type |
---|
System.Boolean |
HighlightedTextColor
Gets or sets the highlighting color for matched characters in suggestion list
Declaration
public Brush HighlightedTextColor { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
HighlightedTextFontStyle
Gets or sets the highlighting font style for matched characters in suggestion list
Declaration
public FontStyle HighlightedTextFontStyle { get; set; }
Property Value
Type |
---|
System.Windows.FontStyle |
HighlightedTextFontWeight
Gets or sets the highlighting font weight for matched characters in suggestion list
Declaration
public FontWeight HighlightedTextFontWeight { get; set; }
Property Value
Type |
---|
System.Windows.FontWeight |
IgnoreDiacritic
Declaration
public bool IgnoreDiacritic { get; set; }
Property Value
Type |
---|
System.Boolean |
ImageMemberPath
Gets or Sets the image for suggestionbox and ComboBox
Declaration
public string ImageMemberPath { get; set; }
Property Value
Type |
---|
System.String |
IndicatorFontFamily
Gets or Sets the value of IndicatorFontFamily
Declaration
public FontFamily IndicatorFontFamily { get; set; }
Property Value
Type |
---|
System.Windows.Media.FontFamily |
IndicatorText
Gets or Sets the value of IndicatorText
Declaration
public string IndicatorText { get; set; }
Property Value
Type |
---|
System.String |
IndicatorTextColor
Gets or Sets the value of IndicatorTextColor
Declaration
public Brush IndicatorTextColor { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
IndicatorTextSize
Gets or Sets the value of IndicatorTextSize
Declaration
public double IndicatorTextSize { get; set; }
Property Value
Type |
---|
System.Double |
IsEditable
Declaration
public bool IsEditable { get; set; }
Property Value
Type |
---|
System.Boolean |
IsFocused
Gets or Sets the focus for ComboBox
Declaration
public bool IsFocused { get; set; }
Property Value
Type |
---|
System.Boolean |
IsSelectedItemsVisibleInDropDown
Gets or sets a value for CanSuggestingSelectedItems.
Declaration
public bool IsSelectedItemsVisibleInDropDown { get; set; }
Property Value
Type |
---|
System.Boolean |
IsSuggestionOpen
Declaration
public bool IsSuggestionOpen { get; set; }
Property Value
Type |
---|
System.Boolean |
ItemPadding
Gets or Sets the value of itempadding
Declaration
public Thickness ItemPadding { get; set; }
Property Value
Type |
---|
System.Windows.Thickness |
LoadMoreText
Declaration
public string LoadMoreText { get; set; }
Property Value
Type |
---|
System.String |
MaxDropDownHeight
Gets or sets the height of the Syncfusion.XForms.UWP.ComboBox.SuggestionBox.
Declaration
public double MaxDropDownHeight { get; set; }
Property Value
Type |
---|
System.Double |
MaximumSuggestion
Gets or sets a value indicating MaximumSuggestion in suggestionbox.
Declaration
public int MaximumSuggestion { get; set; }
Property Value
Type |
---|
System.Int32 |
MinimumPrefixCharacters
Gets or sets the minimum number of prefix characters.
Declaration
public int MinimumPrefixCharacters { get; set; }
Property Value
Type |
---|
System.Int32 |
MultiSelectMode
Gets or Sets the mode for Autrocomplete
Declaration
public MultiSelectMode MultiSelectMode { get; set; }
Property Value
Type |
---|
MultiSelectMode |
NoResultsFoundFontFamily
Gets or sets a value to change the font family of NoResultsFoundText.
Declaration
public FontFamily NoResultsFoundFontFamily { get; set; }
Property Value
Type |
---|
System.Windows.Media.FontFamily |
NoResultsFoundFontSize
Gets or sets a value to change the size of NoResultsFoundText.
Declaration
public double NoResultsFoundFontSize { get; set; }
Property Value
Type |
---|
System.Double |
NoResultsFoundFontStyle
Gets or sets a value to change the font style of NoResultsFound.
Declaration
public FontStyle NoResultsFoundFontStyle { get; set; }
Property Value
Type |
---|
System.Windows.FontStyle |
NoResultsFoundFontWeight
Gets or sets a value to change the font style of NoResultsFound.
Declaration
public FontWeight NoResultsFoundFontWeight { get; set; }
Property Value
Type |
---|
System.Windows.FontWeight |
NoResultsFoundText
Declaration
public string NoResultsFoundText { get; set; }
Property Value
Type |
---|
System.String |
NoResultsFoundTextColor
Gets or sets a value to change the text color of NoResultsFound.
Declaration
public Brush NoResultsFoundTextColor { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
PopupDelay
Gets or sets the delay in popup
Declaration
public TimeSpan PopupDelay { get; set; }
Property Value
Type |
---|
System.TimeSpan |
SearchDelay
Gets or sets the delay in search
Declaration
public TimeSpan SearchDelay { get; set; }
Property Value
Type |
---|
System.TimeSpan |
SearchItemPath
Gets or sets the search item path is used to search the Syncfusion.XForms.UWP.ComboBox.Suggestions.
Declaration
public string SearchItemPath { get; set; }
Property Value
Type |
---|
System.String |
SelectedDropDownItemColor
Gets or sets the value of SelectedDropDownItemColor color property.
Declaration
public Brush SelectedDropDownItemColor { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
SelectedItem
Gets or sets the value of the Selected item Syncfusion.XForms.UWP.ComboBox.SfComboBox
Declaration
public object SelectedItem { get; set; }
Property Value
Type |
---|
System.Object |
SelectedValue
Gets or sets the value of the Selected value Syncfusion.XForms.UWP.ComboBox.SfComboBox
Declaration
public object SelectedValue { get; set; }
Property Value
Type |
---|
System.Object |
SelectionType
Gets or Sets the mode for Autrocomplete
Declaration
public SelectionType SelectionType { get; set; }
Property Value
Type |
---|
SelectionType |
ShowBorder
Declaration
public bool ShowBorder { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowClearButton
Declaration
public bool ShowClearButton { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowDropDownFooterView
Gets or sets a value indicating whether dropdown footer view is shown.
Declaration
public bool ShowDropDownFooterView { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowDropDownHeaderView
Gets or sets a value indicating whether dropdown header view is shown.
Declaration
public bool ShowDropDownHeaderView { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowSuggestionsOnFocus
Gets or sets a value indicating whether true or false.
Declaration
public bool ShowSuggestionsOnFocus { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
SuggestionBoxPlacement
Declaration
public SuggestionBoxPlacement SuggestionBoxPlacement { get; set; }
Property Value
Type |
---|
SuggestionBoxPlacement |
SuggestionBoxPosition
Gets the Windows.Foundation.Point that position the Syncfusion.XForms.UWP.ComboBox.SuggestionBox.
Declaration
public Point SuggestionBoxPosition { get; }
Property Value
Type |
---|
System.Windows.Point |
SuggestionBoxStyle
Gets or sets the style with Syncfusion.XForms.UWP.ComboBox.SuggestionBox.
Declaration
public Style SuggestionBoxStyle { get; set; }
Property Value
Type |
---|
System.Windows.Style |
SuggestionIndex
Gets or sets the index value of selected item in none mode.
Declaration
public int SuggestionIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
SuggestionItemFontFamily
Gets or sets the font family of suggestion item
Declaration
public FontFamily SuggestionItemFontFamily { get; set; }
Property Value
Type |
---|
System.Windows.Media.FontFamily |
SuggestionItemFontSize
Gets or sets the font size of suggestion item
Declaration
public double SuggestionItemFontSize { get; set; }
Property Value
Type |
---|
System.Double |
SuggestionItemFontStyle
Gets or sets the font style of suggestion item
Declaration
public FontStyle SuggestionItemFontStyle { get; set; }
Property Value
Type |
---|
System.Windows.FontStyle |
SuggestionItemFontWeight
Gets or sets the font weight of suggestion item
Declaration
public FontWeight SuggestionItemFontWeight { get; set; }
Property Value
Type |
---|
System.Windows.FontWeight |
SuggestionItemForeground
Gets or sets the foreground of suggestion item
Declaration
public Brush SuggestionItemForeground { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
SuggestionItemHeight
Gets or sets the height of Suggestion box item
Declaration
public double SuggestionItemHeight { get; set; }
Property Value
Type |
---|
System.Double |
SuggestionMode
Declaration
public SuggestionMode SuggestionMode { get; set; }
Property Value
Type |
---|
SuggestionMode |
Suggestions
Gets the list of suggestions associated with Syncfusion.XForms.UWP.ComboBox.SuggestionMode.
Declaration
public IEnumerable Suggestions { get; }
Property Value
Type |
---|
System.Collections.IEnumerable |
TextHighlightMode
Gets or sets the value of the occurrenceMode
Declaration
public OccurrenceMode TextHighlightMode { get; set; }
Property Value
Type |
---|
OccurrenceMode |
TokenSettings
Gets or sets the customization settings to token.
Declaration
public TokenSettings TokenSettings { get; set; }
Property Value
Type |
---|
TokenSettings |
TokensWrapMode
Gets or Sets the Layout for Multiselection
Declaration
public TokensWrapMode TokensWrapMode { get; set; }
Property Value
Type |
---|
TokensWrapMode |
ValueMemberPath
Gets or sets the ValueMemberPath
Declaration
public string ValueMemberPath { get; set; }
Property Value
Type |
---|
System.String |
Watermark
Gets or sets the content displayed as a watermark in the Syncfusion.XForms.UWP.ComboBox.TextBoxExt when it is empty.
Declaration
public object Watermark { get; set; }
Property Value
Type |
---|
System.Object |
See Also
WatermarkForeground
Gets or sets a value to change Watermark foreground
Declaration
public Brush WatermarkForeground { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
Methods
Dispose()
Method for disposing unwanted objects
Declaration
public void Dispose()
Dispose(Boolean)
Dispose method
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | boolean type |
LoadMoreItems(Int32)
Loads more number of suggestions in dropdown based on specified count.
Declaration
public void LoadMoreItems(int maximumSuggestions)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maximumSuggestions | Number of more suggestions to be loaded. |
OnApplyTemplate()
Initialize all the child elements of Syncfusion.XForms.UWP.ComboBox.TextBoxExt control.
Declaration
public override void OnApplyTemplate()
OnCompleted(DependencyPropertyChangedEventArgs)
Occurs when press the Enter key
Declaration
protected void OnCompleted(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | args | Dependency property changed event args |
OnDelimiterChanged(DependencyPropertyChangedEventArgs)
Prepares the text when the Delimiter has changed.
Declaration
protected void OnDelimiterChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | args | Dependency property changed event args |
OnGotFocus(RoutedEventArgs)
Occurs when focus is obtained.
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.RoutedEventArgs | e | Routed event args |
OnIsSuggestionOpenChanged(DependencyPropertyChangedEventArgs)
Occurs when the IsSuggestionOpen has changed.
Declaration
protected void OnIsSuggestionOpenChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | args | Dependency property changed event args |
OnLoadMoreTapped(EventArgs)
Trigger the load more event
Declaration
protected void OnLoadMoreTapped(EventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | args |
OnLostFocus(RoutedEventArgs)
Occurs when focus is lost.
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.RoutedEventArgs | e | Routed event args |
OnMouseLeftButtonUp(MouseButtonEventArgs)
Occurs when the pointer is released
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | Mouse button event args |
OnPreviewKeyDown(KeyEventArgs)
Occurs when the key is pressed
Declaration
protected override void OnPreviewKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e | Key routed event args |
OnPreviewKeyUp(KeyEventArgs)
Occures when the key is released.
Declaration
protected override void OnPreviewKeyUp(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e | Key routed event args |
OnSelectedItemChanged(DependencyPropertyChangedEventArgs)
Occurs when the Selected Item has changed.
Declaration
protected void OnSelectedItemChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | args | Dependency property changed event args |
OnSuggestionsChanged(DependencyPropertyChangedEventArgs)
Occurs when the Suggestions have changed.
Declaration
protected void OnSuggestionsChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | args | Dependency property changed event args |
SetCursorPosition(Int32)
Sets the cursor in specified position.
Declaration
public void SetCursorPosition(int position)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | position | The position to which cursor should be moved |
Events
Completed
Completed event
Declaration
public event PropertyChangedCallback Completed
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
LoadMoreTapped
LoadMoreTapped event handler
Declaration
public event EventHandler LoadMoreTapped
Event Type
Type |
---|
System.EventHandler |
SelectedItemChanged
Occurs when Syncfusion.XForms.UWP.ComboBox.TextBoxExt.Suggestions changed.
Declaration
public event PropertyChangedCallback SelectedItemChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
SelectionChanging
SelectionChanging event
Declaration
public event SfComboBox.SelectionChangingEventHandler SelectionChanging
Event Type
Type |
---|
SfComboBox.SelectionChangingEventHandler |
SuggestionPopupClosed
Occurs when suggestion box popup is closed. Syncfusion.XForms.UWP.ComboBox.TextBoxExt.IsSuggestionOpen
Declaration
public event PropertyChangedCallback SuggestionPopupClosed
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
SuggestionPopupOpened
Occurs when suggestion box popup is opened.
Declaration
public event PropertyChangedCallback SuggestionPopupOpened
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |