Method wpfBuilder.Padding(+ 2 overloads)
Overload
Sets padding of the last added control.
public wpfBuilder Padding(Thickness thickness)
Parameters
thickness (Thickness) |
Returns
Exceptions
InvalidOperationException
The last added element does not have Padding property. |
Overload(next)
Sets padding of the last added control.
public wpfBuilder Padding(double? left = null, double? top = null, double? right = null, double? bottom = null)
Parameters
Returns
Exceptions
InvalidOperationException
The last added element does not have Padding property. |
Overload(top)
Sets padding of the last added control.
public wpfBuilder Padding(string padding)
Parameters
padding (string)
String containing uppercase or lowercase letters for padding sides ( |
Returns
Exceptions
InvalidOperationException
The last added element does not have Padding property. |
ArgumentException
Invalid string. |