Export (0) Print
Expand All

PageRange Structure

Specifies a range of pages.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public struct PageRange
<PageRange .../>

The PageRange type exposes the following members.

  NameDescription
Public methodPageRange(Int32)Initializes a new instance of the PageRange class that includes only the single specified page.
Public methodPageRange(Int32, Int32)Initializes a new instance of the PageRange class with the specified first and last pages.
Top

  NameDescription
Public propertyPageFromGets or sets the page number of the first page in the range.
Public propertyPageToGets or sets the page number of the last page in the range.
Top

  NameDescription
Public methodEquals(Object)Tests whether an object of unknown type is equal to this PageRange. (Overrides ValueType.Equals(Object).)
Public methodEquals(PageRange)Tests whether a PageRange is equal to this PageRange.
Public methodGetHashCodeGets the hash code value for the PageRange. (Overrides ValueType.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringGets a string representation of the range. (Overrides ValueType.ToString().)
Top

  NameDescription
Public operatorStatic memberEqualityDefines the "==" operator for testing whether two specified PageRange objects are equal.
Public operatorStatic memberInequalityDefines the "!=" operator for testing whether two specified PageRange objects are not equal.
Top

PageRange defines a range of pages that should be processed in an operation such as printing.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft