Class SfComboBoxRenderer
Represents the renderer for SfComboBox control.
Inheritance
System.Object
SfComboBoxRenderer
Namespace: Syncfusion.XForms.WPF.ComboBox
Assembly: Syncfusion.SfComboBox.XForms.WPF.dll
Syntax
public class SfComboBoxRenderer : ViewRenderer<SfComboBox, SfComboBox>
Constructors
SfComboBoxRenderer()
Initializes a new instance of SfComboBoxRenderer class.
Declaration
public SfComboBoxRenderer()
Methods
Dispose(Boolean)
Method to remove the memory of unwanted objects.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | boolean type |
Init()
Represents initilaiser class for SfComboBoxRenderer.
Declaration
public static void Init()
OnElementChanged(ElementChangedEventArgs<SfComboBox>)
Invoked when element is changed. Creates instance of native control and subscribes its events.
Declaration
protected override void OnElementChanged(ElementChangedEventArgs<SfComboBox> e)
Parameters
Type | Name | Description |
---|---|---|
Xamarin.Forms.Platform.WPF.ElementChangedEventArgs<SfComboBox> | e | E. |
OnElementPropertyChanged(Object, PropertyChangedEventArgs)
Maps all the native control properties with Xamarin.Forms control properties.
Declaration
protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | Sender. |
System.ComponentModel.PropertyChangedEventArgs | e | E. |