A Sandcastle Documented Class Library

# TemplateData Class

Represents a template for returning a Template through the REST API.
Inheritance Hierarchy
System
Object
Dundas.BI.WebApi.Models
BaseDataContract
Dundas.BI.WebApi.Models
TemplateData

Namespace: Dundas.BI.WebApi.Models
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [DataContractAttribute]
    public class TemplateData : BaseDataContract

    <DataContractAttribute>
    Public Class TemplateData
    	Inherits BaseDataContract

    [DataContractAttribute]
    public ref class TemplateData : public BaseDataContract

    [<DataContractAttribute>]
    type TemplateData =
        class
            inherit BaseDataContract
        end

The TemplateData type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| TemplateData | Initializes a new instance of the TemplateData class.

Top
Properties

| Name | Description
--- | --- | ---
| AdapterIds | Gets the collection of IDs for control adapters which are used in the template.
| Background | Gets or sets the brush used to paint the background.
| Height | Gets or sets the height.
| Id | Gets or sets the unique identifier of the template.
| IsHidden | Gets or sets a value indicating whether the template area is hidden.
| IsHiddenIfEmpty | Gets or sets a value indicating whether the template area is hidden when it contains no adapters.
| IsPageBreakAfter | Gets or sets a value indicating whether a page break is inserted after.
| IsPageBreakBefore | Gets or sets a value indicating whether a page break is inserted before.
| IsPageNumberingResetAfter | Gets or sets a value indicating whether the total page count and page numbers are reset after.
| TemplateCellIds | Gets the collection of IDs for template cells which hold adapters.
| TemplateType | Gets or sets the template type.
| UIClassName | Gets or sets the name of the UI class (used for auto de-serialization). (Inherited from BaseDataContract.)
| Width | Gets or sets the width.

Top
Methods

| Name | Description
--- | --- | ---
| FromDataContractMappings | The mapping between TemplateData and Template.
| ToDataContractMappings | The mapping between Template and TemplateData.

Top
See Also

#### Reference

Dundas.BI.WebApi.Models Namespace