Class SfSegmentedControlRenderer
SfSegmentedControlRenderer renderer for UWP
Inheritance
System.Object
SfSegmentedControlRenderer
Namespace: Syncfusion.XForms.WPF.Buttons
Assembly: Syncfusion.Buttons.XForms.WPF.dll
Syntax
public class SfSegmentedControlRenderer : ViewRenderer<SfSegmentedControl, SfSegmentedControl>
Constructors
SfSegmentedControlRenderer()
Declaration
public SfSegmentedControlRenderer()
Methods
Dispose(Boolean)
Releases the unmanaged resources used by the component and optionally releases the managed resources.
Declaration
[SecurityCritical]
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | if true - release both managed and unmanaged resources; if false - release only unmanaged resources. |
Init()
Initialize the SfSegmentedControlRenderer
Declaration
public static void Init()
OnElementChanged(ElementChangedEventArgs<SfSegmentedControl>)
Methods gets called when any property of the SfSegmentedControlRenderer get changed.
Declaration
[SecurityCritical]
protected override void OnElementChanged(ElementChangedEventArgs<SfSegmentedControl> e)
Parameters
Type | Name | Description |
---|---|---|
Xamarin.Forms.Platform.WPF.ElementChangedEventArgs<SfSegmentedControl> | e | ElementChangedEvent argument |
OnElementPropertyChanged(Object, PropertyChangedEventArgs)
This method used to update all the SfSegmentedControl properties.
Declaration
protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | sender as SfSegmentedControlRenderer |
System.ComponentModel.PropertyChangedEventArgs | e | e as PropertyChangedEventArgs |