xtd 0.2.0
Loading...
Searching...
No Matches

◆ all() [1/2]

int32 xtd::forms::padding::all ( ) const
noexcept

Gets the padding value for all the edges.

Returns
The padding, in pixels, for all edges if the same; otherwise, -1.
Remarks
When retrieving this property, if all the edges use the same padding value, then this common value is returned. Otherwise, -1 is returned to indicate that all the padding values are not equal.