BookPageStyleSelector Class
public class BookPageStyleSelector : StyleSelector
- Inheritance:
- Object StyleSelector Object
Constructors
BookPageStyleSelector()
public BookPageStyleSelector()
Properties
BackFacingPageStyle
Gets or sets 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
Gets or sets a Style applied to the first page.
FrontFacingPageStyle
Gets or sets 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
Gets or sets 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. |