Skip to main content
PageRange Structure
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies a range of pages.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public struct PageRange
public value struct PageRange
[<Sealed>]
type PageRange = struct end
Public Structure PageRange
NameDescription
System_CAPS_pubmethod PageRange

Initializes a new instance of the PageRange class that includes only the single specified page.

System_CAPS_pubmethod PageRange

Initializes a new instance of the PageRange class with the specified first and last pages.

NameDescription
System_CAPS_pubproperty

Gets or sets the page number of the first page in the range.

System_CAPS_pubproperty

Gets or sets the page number of the last page in the range.

NameDescription
System_CAPS_pubmethod Equals

Tests whether an object of unknown type is equal to this PageRange. (Overrides ValueTypeEquals.)

System_CAPS_pubmethod Equals

Tests whether a PageRange is equal to this PageRange.

System_CAPS_pubmethod GetHashCode

Gets the hash code value for the PageRange.(Overrides ValueTypeGetHashCode.)

System_CAPS_pubmethod GetType

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethod ToString

Gets a string representation of the range.(Overrides ValueTypeToString.)

NameDescription
System_CAPS_puboperator System_CAPS_static Equality

Defines the "==" operator for testing whether two specified PageRange objects are equal.

System_CAPS_puboperator System_CAPS_static Inequality

Defines the "!=" operator for testing whether two specified PageRange objects are not equal.

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

.NET Framework
Available since 3.0

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

Return to top