Uređivanje

Dijeli putem


RichTextBox.OnDpiChanged(DpiScale, DpiScale) Method

Definition

Called when the DPI at which this Rich Text Box is rendered changes.

protected:
 override void OnDpiChanged(System::Windows::DpiScale oldDpiScaleInfo, System::Windows::DpiScale newDpiScaleInfo);
protected override void OnDpiChanged (System.Windows.DpiScale oldDpiScaleInfo, System.Windows.DpiScale newDpiScaleInfo);
override this.OnDpiChanged : System.Windows.DpiScale * System.Windows.DpiScale -> unit
Protected Overrides Sub OnDpiChanged (oldDpiScaleInfo As DpiScale, newDpiScaleInfo As DpiScale)

Parameters

oldDpiScaleInfo
DpiScale

The previous DPI scale setting.

newDpiScaleInfo
DpiScale

The new DPI scale setting.

Applies to