IAppearanceService.SelectedDensity 属性¶
所选的密度。为其赋值会立即调整正在运行的应用程序中控件的大小:内边距、行高等随密度变化,颜色不变。
命名空间: Eremex.AvaloniaUI.Controls.ApplicationServices
程序集: Eremex.Common.Contracts.dll
NuGet 包: Eremex.Common.Contracts
声明¶
属性值¶
| 类型 | 说明 |
|---|---|
IAppearanceOption |
Densities 中的一项;如果主题没有密度,则为 null。 |
另请参阅¶
* 本页面使用机器翻译技术翻译。