Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.55 KB

thicknesshelper.md

File metadata and controls

25 lines (16 loc) · 1.55 KB
-api-id -api-type
T:Windows.UI.Xaml.ThicknessHelper
winrt class

Windows.UI.Xaml.ThicknessHelper

-description

Provides helper methods to evaluate or set Thickness values. C# and Microsoft Visual Basic code should use members of Thickness instead.

-remarks

Thickness is a Windows Runtime structure that represents a pixel measure applied to the outside (margin) or inside (padding) render dimensions of a rectangular UI element. For example, Border.BorderThickness uses a Thickness value.

ThicknessHelper is one of several Helper classes that are intended to provide utility methods for Windows Runtime structure values. C# and Microsoft Visual Basic code can use members of Thickness instead, because utility members are available directly on the structure due to .NET Framework runtime support. C++ code can only access the data values on Thickness, for example the Top field value. For C++ developers, approximately the same utility features that a Microsoft Visual Basic developer could use directly on Thickness are available in a static form on the ThicknessHelper class.

-examples

-see-also

Thickness, Margin, Padding, Define layouts with XAML