DateTimePicker.PreferredHeight 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 the preferred height of the DateTimePicker control.
public:
property int PreferredHeight { int get(); };
[System.ComponentModel.Browsable(false)]
public int PreferredHeight { get; }
[<System.ComponentModel.Browsable(false)>]
member this.PreferredHeight : int
Public ReadOnly Property PreferredHeight As Integer
Property Value
The preferred height, in pixels, of the DateTimePicker control.
- Attributes
Remarks
The preferred height is the minimum height needed to accommodate the displayed text with the assigned Font applied.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.