BookPageStyleSelector Class
public class BookPageStyleSelector : StyleSelector
- Inheritance:
- object StyleSelector object
Constructors
BookPageStyleSelector()
Initializes an instance of the class.
public BookPageStyleSelector()
Properties
BackFacingPageStyle
A Style applied to all back-facing pages.
public Style? BackFacingPageStyle { get; set; }
Property Value
Remarks
The FirstPageStyle and LastPageStyle properties take precedence over this property.
FirstPageStyle
A Style applied to the first page.
FrontFacingPageStyle
A Style applied to all front-facing pages.
public Style? FrontFacingPageStyle { get; set; }
Property Value
Remarks
The FirstPageStyle and LastPageStyle properties take precedence over this property.
LastPageStyle
A Style applied to the last page.
public Style? LastPageStyle { get; set; }
Property Value
Remarks
The FirstPageStyle property take precedence over this property.
Methods
SelectStyle(object, DependencyObject)
When overridden in a derived class, returns a Style based on custom logic.
public override Style? SelectStyle(object item, DependencyObject container)
| Parameter | Type | Description |
|---|---|---|
| item | object | The content. |
| container | DependencyObject | The element to which the style will be applied. |
Returns
- Style:
Returns an application-specific style to apply; otherwise,
null.
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()