Exemple #1
0
        public static void SetRowSpan(View view, int rowSpan)
        {
            if (rowSpan <= 0)
            {
                throw new ArgumentException("The value must be above zero", nameof(rowSpan));
            }

            DependencyObjectExtensions.SetValue(view, RowSpanProperty, rowSpan);
        }
 public static void SetMyValue(object view, int row)
 {
     DependencyObjectExtensions.SetValue(view, MyValueProperty, row);
 }
Exemple #3
0
 public static void SetMyExplicitValue(Target1 view, int row)
 {
     DependencyObjectExtensions.SetValue(view, MyValueProperty, row);
 }
Exemple #4
0
 public static void SetColumn(View view, int column)
 {
     DependencyObjectExtensions.SetValue(view, ColumnProperty, column);
 }
Exemple #5
0
 public static void SetRow(View view, int row)
 {
     DependencyObjectExtensions.SetValue(view, RowProperty, row);
 }