Beispiel #1
0
 public override void UpdateGroupView(TKDataForm dataForm, TKEntityPropertyGroupView groupView, uint groupIndex)
 {
     // >> dataform-groups-layout-cs
     groupView.Collapsible = true;
     if (groupIndex == 0)
     {
         TKGridLayout grid = new TKGridLayout();
         groupView.EditorsContainer.Layout = grid;
         int row = 0;
         int col = 0;
         foreach (UIView editor in groupView.EditorsContainer.Items)
         {
             TKGridLayoutCellDefinition editorDefinition = grid.DefinitionForView(editor);
             editorDefinition.Row    = new NSNumber(row);
             editorDefinition.Column = new NSNumber(col);
             col++;
             if (col == 2)
             {
                 row++;
                 col = 0;
             }
         }
     }
     // << dataform-groups-layout-cs
 }
Beispiel #2
0
 public override void UpdateGroupView(TKDataForm dataForm, TKEntityPropertyGroupView groupView, uint groupIndex)
 {
     groupView.EditorsContainer.BackgroundColor = UIColor.White;
     if (owner.alignment != "Table")
     {
         ((TKStackLayout)groupView.EditorsContainer.Layout).Spacing = 7;
     }
 }
        public override void UpdateGroupView(TKDataForm dataForm, TKEntityPropertyGroupView groupView, uint groupIndex)
        {
            base.UpdateGroupView(dataForm, groupView, groupIndex);

            groupView.TitleView.TitleLabel.TextColor = new UIColor(0.46f, 0.46f, 0.46f, 1);
            groupView.TitleView.Style.Insets         = new UIEdgeInsets(15, 30, 0, 0);
            groupView.TitleView.TitleLabel.Font      = UIFont.SystemFontOfSize(12);
        }
Beispiel #4
0
 public override void UpdateGroupView(TKDataForm dataForm, TKEntityPropertyGroupView groupView, uint groupIndex)
 {
     groupView.TitleView.TitleLabel.TextColor = UIColor.LightGray;
     groupView.TitleView.TitleLabel.Font      = UIFont.SystemFontOfSize(13);
     groupView.TitleView.Style.Insets         = new UIEdgeInsets(0, 10, 0, 0);
     if (groupIndex == 1)
     {
         groupView.EditorsContainer.BackgroundColor = UIColor.Clear;
     }
 }
 public override void UpdateGroupView(TKDataForm dataForm, TKEntityPropertyGroupView groupView, uint groupIndex)
 {
     groupView.TitleView.TitleLabel.TextColor = UIColor.LightGray;
     groupView.TitleView.TitleLabel.Font = UIFont.SystemFontOfSize (13);
     groupView.TitleView.Style.Insets = new UIEdgeInsets (0, 10, 0, 0);
     if (groupIndex == 1) {
         groupView.EditorsContainer.BackgroundColor = UIColor.Clear;
     }
 }
Beispiel #6
0
 public override void UpdateGroupView(TKDataForm dataForm, TKEntityPropertyGroupView groupView, uint groupIndex)
 {
     groupView.Collapsible = true;
     groupView.TitleView.Style.SeparatorColor = new TKSolidFill(new UIColor(0.784f, 0.780f, 0.8f, 1.0f));
 }
 public override void UpdateGroupView(TKDataForm dataForm, TKEntityPropertyGroupView groupView, uint groupIndex)
 {
     groupView.Collapsible = true;
     groupView.TitleView.Style.SeparatorColor = new TKSolidFill (new UIColor (0.784f, 0.780f, 0.8f, 1.0f));
 }
		public override void UpdateGroupView (TKDataForm dataForm, TKEntityPropertyGroupView groupView, uint groupIndex)
		{
			groupView.EditorsContainer.BackgroundColor = UIColor.White;
			if (owner.alignment != "Table") {
				((TKStackLayout)groupView.EditorsContainer.Layout).Spacing = 7;
			}
		}
 public override void UpdateGroupView(TKDataForm dataForm, TKEntityPropertyGroupView groupView, uint groupIndex)
 {
     base.UpdateGroupView(dataForm, groupView, groupIndex);
     groupView.TitleView.Hidden = true;
 }