Class ListViewItemRenderer
Renderer for ListViewItem.
Inheritance
System.Object
ListViewItemRenderer
Namespace: Syncfusion.ListView.XForms.WPF
Assembly: Syncfusion.SfListView.XForms.WPF.dll
Syntax
public class ListViewItemRenderer : ViewRenderer<ListViewItem, FrameworkElement>
Constructors
ListViewItemRenderer()
Initializes a new instance of the ListViewItemRenderer class.
Declaration
public ListViewItemRenderer()
Methods
Dispose(Boolean)
Dispose the instances, if parameter is true.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Represents the boolean value for disposing objects. |
OnElementChanged(ElementChangedEventArgs<ListViewItem>)
Set the element for item border when native element changed.
Declaration
protected override void OnElementChanged(ElementChangedEventArgs<ListViewItem> e)
Parameters
Type | Name | Description |
---|---|---|
Xamarin.Forms.Platform.WPF.ElementChangedEventArgs<ListViewItem> | e | Contains all the information of event. |
OnElementPropertyChanged(Object, PropertyChangedEventArgs)
Update the element properties when native element is changed based on portable class library element properties.
Declaration
protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | Represents the ListViewItem. |
System.ComponentModel.PropertyChangedEventArgs | e | Contains all the information of event. |