PdfViewerStyleInfoIdentity Class
Implements the class that provide the identity information of PdfViewerVisualStyle using Syncfusion.Styles.StyleInfoSubObjectIdentity.
Inheritance
System.Object
PdfViewerStyleInfoIdentity
Namespace: Syncfusion.Windows.Forms.PdfViewer
Assembly: Syncfusion.PdfViewer.Windows.dll
Syntax
public class PdfViewerStyleInfoIdentity : StyleInfoSubObjectIdentity
Constructors
PdfViewerStyleInfoIdentity(PdfViewerControl)
Initializes a new instance of the PdfViewerStyleInfoIdentity class.
Declaration
public PdfViewerStyleInfoIdentity(PdfViewerControl pdfViewer)
Parameters
Type | Name | Description |
---|---|---|
PdfViewerControl | pdfViewer | PdfViewerControl to create an identity. |
Methods
GetBaseStyles(IStyleInfo)
Loops through all base styles until it finds a style that has a specific property initialized.
Declaration
public override IStyleInfo[] GetBaseStyles(IStyleInfo thisStyleInfo)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Styles.IStyleInfo | thisStyleInfo | A instance of Syncfusion.Styles.IStyleInfo |
Returns
Type | Description |
---|---|
Syncfusion.Styles.IStyleInfo[] | Returns the Syncfusion.Styles.IStyleInfo. |
OnStyleChanged(StyleInfoBase, StyleInfoProperty)
Occurs when a property in the PdfViewerVisualStyle has changed.
Declaration
public override void OnStyleChanged(StyleInfoBase style, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Styles.StyleInfoBase | style | The Syncfusion.Styles.StyleInfoBase instance that has changed. |
Syncfusion.Styles.StyleInfoProperty | sip | A Syncfusion.Styles.StyleInfoProperty that identifies the property to operate on. |