NamedSize Enum
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.
Caution
This API is now deprecated.
Represents pre-defined font sizes.
public enum class NamedSize
[System.Obsolete]
public enum NamedSize
[<System.Obsolete>]
type NamedSize =
Public Enum NamedSize
- Inheritance
-
NamedSize
- Attributes
Fields
Body | 5 | Body. |
Caption | 9 | Caption. |
Default | 0 | The default font size. |
Header | 6 | Header. |
Large | 4 | A Large font size, for titles or other important text elements. |
Medium | 3 | A default font size, to be used in stand alone labels or buttons. |
Micro | 1 | The smallest readable font size for the device. Think about this like legal footnotes. |
Small | 2 | A small but readable font size. Use this for block of text. |
Subtitle | 8 | Subtitle. |
Title | 7 | Title. |
Remarks
The exact pixel-value depends on the platform on which Microsoft.Maui.Controls is running.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈