Files
dotnet/Documentation/compatibility/new-enum-values-in-wpf's-pagerangeselection.md
Connie Yau a516c75d9a Compatibility diagnostic wording fixes (#413)
* Update breaking changes based on PR feedback

* Split breaking change 181 into multiple categories

* Fix incorrect xrefs
2017-05-30 11:57:12 -07:00

1.1 KiB

New enum values in WPF's PageRangeSelection

Scope

Edge

Version Introduced

4.5

Source Analyzer Status

Available

Change Description

Two new members (xref:System.Windows.Controls.PageRangeSelection.CurrentPage?displayProperty=name and xref:System.Windows.Controls.PageRangeSelection.SelectedPages?displayProperty=name) have been added to the xref:System.Windows.Controls.PageRangeSelection?displayProperty=name enum.

  • Quirked
  • Build-time break

In most cases, these changes won't impact user code. Code that depends on a particular number of elements existing in xref:System.Enum.GetNames(System.Type) or xref:System.Enum.GetValues(System.Type) calls on the xref:System.Windows.Controls.PageRangeSelection?displayProperty=name type should be modified, though.

Affected APIs

  • T:System.Windows.Controls.PageRangeSelection

Category

Windows Presentation Foundation (WPF)