Esempio n. 1
0
        void FlowLayoutSelected(object sender, EventArgs e)
        {
            UICollectionViewFlowLayout layout = new UICollectionViewFlowLayout();

            layout.ItemSize                = new CGSize((this.listView.Bounds.Size.Width - 3) / 3.0, this.listView.Bounds.Size.Height / 4.0);
            layout.HeaderReferenceSize     = new CGSize(100, 30);
            layout.MinimumInteritemSpacing = 1;
            layout.MinimumLineSpacing      = 1;
            this.listView.Layout           = layout;
            this.scrollDirection           = TKListViewScrollDirection.Vertical;
            this.SetSelectedOptionInSection(1, 1);
        }
Esempio n. 2
0
 void HorizontalSelected(object sender, EventArgs e)
 {
     this.listView.ScrollDirection = TKListViewScrollDirection.Horizontal;
     this.scrollDirection          = TKListViewScrollDirection.Horizontal;
 }
Esempio n. 3
0
 void VerticalSelected(object sender, EventArgs e)
 {
     this.listView.ScrollDirection = TKListViewScrollDirection.Vertical;
     this.scrollDirection          = TKListViewScrollDirection.Vertical;
 }
Esempio n. 4
0
 void VerticalSelected()
 {
     this.listView.ScrollDirection = TKListViewScrollDirection.Vertical;
     this.scrollDirection = TKListViewScrollDirection.Vertical;
 }
Esempio n. 5
0
 void FlowLayoutSelected()
 {
     UICollectionViewFlowLayout layout = new UICollectionViewFlowLayout();
     layout.ItemSize = new CGSize((this.listView.Bounds.Size.Width-3)/3.0, this.listView.Bounds.Size.Height/4.0);
     layout.HeaderReferenceSize = new CGSize(100, 30);
     layout.MinimumInteritemSpacing = 1;
     layout.MinimumLineSpacing = 1;
     this.listView.Layout = layout;
     this.scrollDirection = TKListViewScrollDirection.Vertical;
     this.SetSelectedOption (1, 1);
 }
Esempio n. 6
0
 void HorizontalSelected()
 {
     this.listView.ScrollDirection = TKListViewScrollDirection.Horizontal;
     this.scrollDirection = TKListViewScrollDirection.Horizontal;
 }
Esempio n. 7
0
 void HorizontalSelected()
 {
     this.listView.ScrollDirection = TKListViewScrollDirection.Horizontal;
     this.scrollDirection          = TKListViewScrollDirection.Horizontal;
 }
Esempio n. 8
0
 void VerticalSelected()
 {
     this.listView.ScrollDirection = TKListViewScrollDirection.Vertical;
     this.scrollDirection          = TKListViewScrollDirection.Vertical;
 }
Esempio n. 9
0
 void VerticalSelected(object sender, EventArgs e)
 {
     this.listView.ScrollDirection = TKListViewScrollDirection.Vertical;
     this.scrollDirection = TKListViewScrollDirection.Vertical;
 }
Esempio n. 10
0
 void HorizontalSelected(object sender, EventArgs e)
 {
     this.listView.ScrollDirection = TKListViewScrollDirection.Horizontal;
     this.scrollDirection = TKListViewScrollDirection.Horizontal;
 }