PortfolioSchema
Represents the schema of a PDF Portfolio, defining the fields (columns) displayed for embedded files.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.Collections
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class PortfolioSchema : IReadOnlyList<PortfolioField>, IReadOnlyCollection<PortfolioField>, IEnumerable<PortfolioField>, IEnumerable
Inheritance: objectPortfolioSchema
Implements:
Methods
Adds a predefined field for displaying creation dates.
public PortfolioField AddCreationDateField(int order = 5)
The display order of the column.
Returns:The created PortfolioField.
Adds a custom date field to the schema.
public PortfolioField AddDateField(string key, string displayName, int order = 0)
The unique key identifying this field.
displayNamestringThe display name shown in the user interface.
orderintThe display order of the column.
Returns:The created PortfolioField.
Adds a predefined field for displaying file descriptions.
public PortfolioField AddDescriptionField(int order = 2)
The display order of the column.
Returns:The created PortfolioField.
Adds a predefined field for displaying file names.
public PortfolioField AddFileNameField(int order = 1)
The display order of the column.
Returns:The created PortfolioField.
Adds a predefined field for displaying modification dates.
public PortfolioField AddModificationDateField(int order = 4)
The display order of the column.
Returns:The created PortfolioField.
Adds a custom number field to the schema.
public PortfolioField AddNumberField(string key, string displayName, int order = 0)
The unique key identifying this field.
displayNamestringThe display name shown in the user interface.
orderintThe display order of the column.
Returns:The created PortfolioField.
Adds a predefined field for displaying file sizes.
public PortfolioField AddSizeField(int order = 3)
The display order of the column.
Returns:The created PortfolioField.
Adds a custom text field to the schema.
public PortfolioField AddTextField(string key, string displayName, int order = 0)
The unique key identifying this field.
displayNamestringThe display name shown in the user interface.
orderintThe display order of the column.
Returns:The created PortfolioField.
Removes all fields from the schema.
public void Clear()
Returns an enumerator that iterates through the fields.
public IEnumerator<PortfolioField> GetEnumerator()
An enumerator for the fields collection.
Implements:
Configures the schema with default fields containing common file properties.
public void UseDefaultSchema()
Properties
Gets the field at the specified index.
public PortfolioField this[int index] { get; }
The zero-based index of the field to get.
Property Value:The field at the specified index.
Implements: