Beispiel #1
0
 public override void Destroy()
 {
     sfGrid.AutoGeneratingColumn -= OnAutoGenerateColumn;
     sfGrid.Dispose();
     viewModel = null;
     sfGrid    = null;
 }
Beispiel #2
0
 public override Android.Views.View GetSampleContent(Android.Content.Context context)
 {
     sfGrid                       = new SfDataGrid(context);
     viewModel                    = new SelectionViewModel();
     sfGrid.ItemsSource           = (viewModel.ProductDetails);
     sfGrid.AutoGeneratingColumn += OnAutoGenerateColumn;
     sfGrid.SelectedIndex         = 1;
     sfGrid.SelectionMode         = SelectionMode.Multiple;
     return(sfGrid);
 }
		public override Android.Views.View GetSampleContent (Android.Content.Context context)
		{
			sfGrid = new SfDataGrid (context);
			viewModel = new SelectionViewModel ();
			sfGrid.ItemsSource = (viewModel.ProductDetails);
			sfGrid.AutoGeneratingColumn += OnAutoGenerateColumn;
			sfGrid.SelectedIndex = 1;
			sfGrid.SelectionMode = SelectionMode.Multiple;
			return sfGrid;
		}
 public override Android.Views.View GetSampleContent(Android.Content.Context context)
 {
     sfGrid                        = new SfDataGrid(context);
     viewModel                     = new SelectionViewModel();
     sfGrid.ItemsSource            = (viewModel.ProductDetails);
     sfGrid.AutoGeneratingColumn  += OnAutoGenerateColumn;
     sfGrid.SelectedIndex          = 1;
     sfGrid.SelectionMode          = SelectionMode.Multiple;
     sfGrid.SelectionController    = new CustomSelectionController(sfGrid);
     sfGrid.VerticalOverScrollMode = VerticalOverScrollMode.None;
     sfGrid.GridStyle              = new SelectionStyle();
     return(sfGrid);
 }
		public override void Destroy ()
		{
			sfGrid.AutoGeneratingColumn -= OnAutoGenerateColumn;
			sfGrid.Dispose ();
			viewModel = null;
			sfGrid = null;
		}