SystemParameters.MenuBarHeight Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates the height, in pixels adjusted for DPI, of a single-line menu bar.
public:
static property double MenuBarHeight { double get(); };
public static double MenuBarHeight { [System.Security.SecurityCritical] get; }
public static double MenuBarHeight { get; }
[<get: System.Security.SecurityCritical>]
static member MenuBarHeight : double
static member MenuBarHeight : double
Public Shared ReadOnly Property MenuBarHeight As Double
Property Value
The height of the menu bar.
- Attributes
Remarks
Maps to SM_CYMENU. See GetSystemMetrics.
XAML attribute usage
<object property="{ SystemParameters.MenuBarHeight}
"/>
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.