ScrollBar.ScaleScrollBarForDpiChange ScrollBar.ScaleScrollBarForDpiChange ScrollBar.ScaleScrollBarForDpiChange ScrollBar.ScaleScrollBarForDpiChange Property

定义

获取或设置一个标志,使滚动条能够根据窗口的 DPI 进行缩放。Gets or sets a flag to let the scrollbar scale according to the DPI of the window.

public:
 property bool ScaleScrollBarForDpiChange { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(true)]
public bool ScaleScrollBarForDpiChange { get; set; }
member this.ScaleScrollBarForDpiChange : bool with get, set
Public Property ScaleScrollBarForDpiChange As Boolean

属性值

true,使滚动条根据窗口的 DPI 缩放;否则 falsetrue to let the scrollbar scale according to the DPI of the window; false otherwise. 默认值为 trueThe default value is true.

适用于