Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using DLToolkit.Forms.Controls;
- namespace Mynamespace
- {
- public class CustomFlowListView : FlowListView
- {
- }
- }
- using Listpm;
- using Listpm.UWP;
- using Xamarin.Forms;
- using Xamarin.Forms.Platform.UWP;
- [assembly: ExportRenderer(typeof(CustomFlowListView), typeof(CustomListViewRenderer))]
- namespace Listpm.UWP
- {
- class CustomListViewRenderer : ListViewRenderer
- {
- protected override void OnElementChanged(ElementChangedEventArgs<ListView> e)
- {
- base.OnElementChanged(e);
- if (List != null)
- List.SelectionMode = Windows.UI.Xaml.Controls.ListViewSelectionMode.None;
- }
- }
- }
Add Comment
Please, Sign In to add comment