Show / Hide Table of Contents

Method OnStyleChanged

OnStyleChanged(Style, Style)

Invoked when the style in use on this element changes, which will invalidate the layout.

Declaration
protected override void OnStyleChanged(Style oldStyle, Style newStyle)
Parameters
Type Name Description
Style oldStyle

The old style.

Style newStyle

The new style.

Overrides
FrameworkElement.OnStyleChanged(Style, Style)

Applies to

Platforms and versions
TargetVersions
.NET Windows100.13 - 300.0
.NET Framework100.8 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.