'Declaration Public Overloads Shared Function CalculateButtonImageAndTextSize( _ ByVal imgSize As Size, _ ByVal textSize As Size, _ ByVal imagePadding As Size, _ ByVal textPadding As Size, _ ByVal padding As Size, _ ByVal vertical As Boolean, _ ByVal buttonStyle As UIElementButtonStyle, _ ByVal buttonType As UIElementButtonType, _ ByVal borderSides As Border3DSide, _ ByVal textPlacement As TextPlacement _ ) As Size
public static Size CalculateButtonImageAndTextSize( Size imgSize, Size textSize, Size imagePadding, Size textPadding, Size padding, bool vertical, UIElementButtonStyle buttonStyle, UIElementButtonType buttonType, Border3DSide borderSides, TextPlacement textPlacement )
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2