API Reference
Class
EmailDynamicTable`1
Table component that binds to a collection and uses configured columns.
Inheritance
- EmailTable
- EmailDynamicTable`1
Type Parameters
- T
Constructors
public EmailDynamicTable<T>(IEnumerable<T> data) #Initializes a new instance of the EmailDynamicTable class using the provided data source.
Parameters
- data System.Collections.Generic.IEnumerable{`0}
- Collection of items to build the table from.
Methods
public EmailDynamicTableColumn<T, TProp> Column<TProp>(String header, Func<T, TProp> selector) #Returns:
EmailDynamicTableColumn<T, TProp>Type Parameters
- TProp
Parameters
- selector Expression<Func<T, TProp>>
Column``1 2 overloads
Column``1(System.Linq.Expressions.Expression{System.Func{`0,``0}} selector) #Adds a column bound to the specified property.
Parameters
- selector System.Linq.Expressions.Expression{System.Func{`0,``0}}
Column``1(System.String header, System.Func{`0,``0} selector) #Adds a column using a delegate selector (AOT-friendly) with an explicit header.
Parameters
- header System.String
- selector System.Func{`0,``0}
Inherited Methods
public override Element Add(Element element) #Returns:
ElementInherited from Element
Parameters
- element Element
public override Element AddCssClass(String cssClass) #Returns:
ElementInherited from Element
Parameters
- cssClass String
public EmailTable AddHeader(params String[] headers) #Returns:
EmailTableInherited from EmailTable
Parameters
- text String
- align String = "left"
- colspan Int32 = 1
public EmailTableRow AddRow(Action<EmailTableRow> config) #Returns:
EmailTableRowInherited from EmailTable
Parameters
- cells String[]
public EmailActivityList EmailActivityList() #Returns:
EmailActivityListInherited from Element
Parameters
- config Action<EmailActivityList>
public EmailAddressBlock EmailAddressBlock() #Returns:
EmailAddressBlockInherited from Element
Parameters
- config Action<EmailAddressBlock>
public EmailAddressCard EmailAddressCard() #Returns:
EmailAddressCardInherited from Element
Parameters
- config Action<EmailAddressCard>
public EmailAlert EmailAlert(EmailAlertType type, String title, String message = "") #Returns:
EmailAlertInherited from Element
Parameters
- config Action<EmailAlert>
public EmailArticleCard EmailArticleCard() #Returns:
EmailArticleCardInherited from Element
Parameters
- config Action<EmailArticleCard>
public EmailArticleList EmailArticleList() #Returns:
EmailArticleListInherited from Element
Parameters
- config Action<EmailArticleList>
public EmailAttachmentList EmailAttachmentList() #Returns:
EmailAttachmentListInherited from Element
Parameters
- config Action<EmailAttachmentList>
public EmailAvatar EmailAvatar(String initials, String size = "40px") #Returns:
EmailAvatarInherited from Element
Parameters
- config Action<EmailAvatar>
public EmailAvatarStack EmailAvatarStack() #Returns:
EmailAvatarStackInherited from Element
Parameters
- config Action<EmailAvatarStack>
public EmailBackgroundImageBox EmailBackgroundImageBox() #Returns:
EmailBackgroundImageBoxInherited from Element
Parameters
- config Action<EmailBackgroundImageBox>
public EmailBadge EmailBadge(String text, String backgroundColor = "#64748B", String color = "#FFFFFF") #Returns:
EmailBadgeInherited from Element
Parameters
- config Action<EmailBadge>
public EmailBadgeList EmailBadgeList() #Returns:
EmailBadgeListInherited from Element
Parameters
- config Action<EmailBadgeList>
public EmailBarChart EmailBarChart() #Returns:
EmailBarChartInherited from Element
Parameters
- config Action<EmailBarChart>
public EmailBarcode EmailBarcode(String value) #Returns:
EmailBarcodeInherited from Element
Parameters
- config Action<EmailBarcode>
public Element EmailBlockquote(Action<EmailBlockquote> config) #Returns:
ElementInherited from Element
Parameters
- content String = ""
public Element EmailBox(Action<EmailBox> config) #Returns:
ElementInherited from Element
Parameters
- config Action<EmailBox>
public Element EmailBoxWithBuilder(Action<EmailBoxBuilder> config) #Returns:
ElementInherited from Element
Parameters
- config Action<EmailBoxBuilder>
public EmailBrandStrip EmailBrandStrip() #Returns:
EmailBrandStripInherited from Element
Parameters
- config Action<EmailBrandStrip>
public Element EmailButton(Action<EmailButton> config) #Returns:
ElementInherited from Element
Parameters
- config Action<EmailButton>
public EmailButtonGroup EmailButtonGroup() #Returns:
EmailButtonGroupInherited from Element
Parameters
- config Action<EmailButtonGroup>
public EmailCalendar EmailCalendar() #Returns:
EmailCalendarInherited from Element
Parameters
- config Action<EmailCalendar>
public EmailCalloutCard EmailCalloutCard() #Returns:
EmailCalloutCardInherited from Element
Parameters
- config Action<EmailCalloutCard>
public EmailChangelog EmailChangelog() #Returns:
EmailChangelogInherited from Element
Parameters
- config Action<EmailChangelog>
public Element EmailColumn(Action<EmailColumn> config) #Returns:
ElementInherited from Element
Parameters
- config Action<EmailColumn>
public EmailCommentList EmailCommentList() #Returns:
EmailCommentListInherited from Element
Parameters
- config Action<EmailCommentList>
public EmailComparisonTable EmailComparisonTable() #Returns:
EmailComparisonTableInherited from Element
Parameters
- config Action<EmailComparisonTable>
public Element EmailContent(Action<EmailContent> config) #Returns:
ElementInherited from Element
Parameters
- config Action<EmailContent>
public EmailCredentialCard EmailCredentialCard() #Returns:
EmailCredentialCardInherited from Element
Parameters
- config Action<EmailCredentialCard>
public EmailDateStrip EmailDateStrip() #Returns:
EmailDateStripInherited from Element
Parameters
- config Action<EmailDateStrip>
public Element EmailDivider(Action<EmailDivider> config) #Returns:
ElementInherited from Element
Parameters
- config Action<EmailDivider>
public EmailDnsRecordsTable EmailDnsRecordsTable() #Returns:
EmailDnsRecordsTableInherited from Element
Parameters
- config Action<EmailDnsRecordsTable>
public EmailDonutChart EmailDonutChart() #Returns:
EmailDonutChartInherited from Element
Parameters
- config Action<EmailDonutChart>
public EmailDownloadCard EmailDownloadCard() #Returns:
EmailDownloadCardInherited from Element
Parameters
- config Action<EmailDownloadCard>
public EmailEmojiRating EmailEmojiRating() #Returns:
EmailEmojiRatingInherited from Element
Parameters
- config Action<EmailEmojiRating>
public EmailEmptyStateCard EmailEmptyStateCard() #Returns:
EmailEmptyStateCardInherited from Element
Parameters
- config Action<EmailEmptyStateCard>
public EmailEventCard EmailEventCard() #Returns:
EmailEventCardInherited from Element
Parameters
- config Action<EmailEventCard>
public EmailFaqList EmailFaqList() #Returns:
EmailFaqListInherited from Element
Parameters
- config Action<EmailFaqList>
public EmailFeatureList EmailFeatureList() #Returns:
EmailFeatureListInherited from Element
Parameters
- config Action<EmailFeatureList>
public Element EmailHeading(Action<EmailHeading> config) #Returns:
ElementInherited from Element
Parameters
- content String = ""
- level Int32 = 2
public EmailHeatmap EmailHeatmap() #Returns:
EmailHeatmapInherited from Element
Parameters
- config Action<EmailHeatmap>
public EmailHero EmailHero() #Returns:
EmailHeroInherited from Element
Parameters
- config Action<EmailHero>
public EmailIconCircle EmailIconCircle() #Returns:
EmailIconCircleInherited from Element
Parameters
- config Action<EmailIconCircle>
public EmailImage EmailImage(String source, String width) #Returns:
EmailImageInherited from Element
Parameters
- config Action<EmailImage>
public EmailIncidentSummaryCard EmailIncidentSummaryCard() #Returns:
EmailIncidentSummaryCardInherited from Element
Parameters
- config Action<EmailIncidentSummaryCard>
public EmailInlineStack EmailInlineStack() #Returns:
EmailInlineStackInherited from Element
Parameters
- config Action<EmailInlineStack>
public EmailInvoiceLineItemsTable EmailInvoiceLineItemsTable() #Returns:
EmailInvoiceLineItemsTableInherited from Element
Parameters
- config Action<EmailInvoiceLineItemsTable>
public EmailInvoiceTotals EmailInvoiceTotals() #Returns:
EmailInvoiceTotalsInherited from Element
Parameters
- config Action<EmailInvoiceTotals>
public EmailKeyValueTable EmailKeyValueTable() #Returns:
EmailKeyValueTableInherited from Element
Parameters
- config Action<EmailKeyValueTable>
public EmailKpiDelta EmailKpiDelta() #Returns:
EmailKpiDeltaInherited from Element
Parameters
- config Action<EmailKpiDelta>
public EmailLineBreak EmailLineBreak(String height) #Returns:
EmailLineBreakInherited from Element
Parameters
- height String
public EmailLineItemsTable EmailLineItemsTable() #Returns:
EmailLineItemsTableInherited from Element
Parameters
- config Action<EmailLineItemsTable>
public Element EmailLink(Action<EmailLink> config) #Returns:
ElementInherited from Element
Parameters
- content String
- href String
public Element EmailList(Action<EmailList> config) #Returns:
ElementInherited from Element
Parameters
- config Action<EmailList>
public EmailMapCard EmailMapCard() #Returns:
EmailMapCardInherited from Element
Parameters
- config Action<EmailMapCard>
public EmailMediaObject EmailMediaObject() #Returns:
EmailMediaObjectInherited from Element
Parameters
- config Action<EmailMediaObject>
public EmailMessageThread EmailMessageThread() #Returns:
EmailMessageThreadInherited from Element
Parameters
- config Action<EmailMessageThread>
public EmailMetricTile EmailMetricTile(String value, String label, String icon = "") #Returns:
EmailMetricTileInherited from Element
Parameters
- config Action<EmailMetricTile>
public EmailNpsRating EmailNpsRating() #Returns:
EmailNpsRatingInherited from Element
Parameters
- config Action<EmailNpsRating>
public EmailOfferCard EmailOfferCard() #Returns:
EmailOfferCardInherited from Element
Parameters
- config Action<EmailOfferCard>
public EmailOtpCode EmailOtpCode(String code) #Returns:
EmailOtpCodeInherited from Element
Parameters
- config Action<EmailOtpCode>
public EmailPhotoCard EmailPhotoCard() #Returns:
EmailPhotoCardInherited from Element
Parameters
- config Action<EmailPhotoCard>
public EmailPhotoGrid EmailPhotoGrid() #Returns:
EmailPhotoGridInherited from Element
Parameters
- config Action<EmailPhotoGrid>
public EmailPricingTable EmailPricingTable() #Returns:
EmailPricingTableInherited from Element
Parameters
- config Action<EmailPricingTable>
public EmailProductCard EmailProductCard() #Returns:
EmailProductCardInherited from Element
Parameters
- config Action<EmailProductCard>
public EmailProductGrid EmailProductGrid() #Returns:
EmailProductGridInherited from Element
Parameters
- config Action<EmailProductGrid>
public EmailProfileCard EmailProfileCard() #Returns:
EmailProfileCardInherited from Element
Parameters
- config Action<EmailProfileCard>
public EmailProgressBar EmailProgressBar(Int32 value) #Returns:
EmailProgressBarInherited from Element
Parameters
- config Action<EmailProgressBar>
public EmailProjectList EmailProjectList() #Returns:
EmailProjectListInherited from Element
Parameters
- config Action<EmailProjectList>
public EmailPromoCodeCard EmailPromoCodeCard() #Returns:
EmailPromoCodeCardInherited from Element
Parameters
- config Action<EmailPromoCodeCard>
public EmailQrCode EmailQrCode(String value) #Returns:
EmailQrCodeInherited from Element
Parameters
- config Action<EmailQrCode>
public EmailReceiptCard EmailReceiptCard() #Returns:
EmailReceiptCardInherited from Element
Parameters
- config Action<EmailReceiptCard>
public EmailRepoStatsCard EmailRepoStatsCard() #Returns:
EmailRepoStatsCardInherited from Element
Parameters
- config Action<EmailRepoStatsCard>
public EmailReviewStars EmailReviewStars() #Returns:
EmailReviewStarsInherited from Element
Parameters
- config Action<EmailReviewStars>
public EmailReviewSummary EmailReviewSummary() #Returns:
EmailReviewSummaryInherited from Element
Parameters
- config Action<EmailReviewSummary>
public Element EmailRow(Action<EmailRow> config) #Returns:
ElementInherited from Element
Parameters
- config Action<EmailRow>
public EmailScheduleCard EmailScheduleCard() #Returns:
EmailScheduleCardInherited from Element
Parameters
- config Action<EmailScheduleCard>
public EmailScheduleList EmailScheduleList() #Returns:
EmailScheduleListInherited from Element
Parameters
- config Action<EmailScheduleList>
public EmailShippingProgress EmailShippingProgress() #Returns:
EmailShippingProgressInherited from Element
Parameters
- config Action<EmailShippingProgress>
public EmailSocialLinks EmailSocialLinks() #Returns:
EmailSocialLinksInherited from Element
Parameters
- config Action<EmailSocialLinks>
public Element EmailSpacer(Action<EmailSpacer> config) #Returns:
ElementInherited from Element
Parameters
- height String
public EmailSparklineBars EmailSparklineBars(params Int32[] values) #Returns:
EmailSparklineBarsInherited from Element
Parameters
- config Action<EmailSparklineBars>
public EmailStatCard EmailStatCard(String title, String value, String subtitle = "", String delta = "", EmailTrendDirection trend = Neutral) #Returns:
EmailStatCardInherited from Element
Parameters
- config Action<EmailStatCard>
public EmailStatusTimeline EmailStatusTimeline() #Returns:
EmailStatusTimelineInherited from Element
Parameters
- config Action<EmailStatusTimeline>
public EmailStepsIndicator EmailStepsIndicator() #Returns:
EmailStepsIndicatorInherited from Element
Parameters
- config Action<EmailStepsIndicator>
public EmailStoreBadges EmailStoreBadges() #Returns:
EmailStoreBadgesInherited from Element
Parameters
- config Action<EmailStoreBadges>
public EmailSubscriptionSummaryCard EmailSubscriptionSummaryCard() #Returns:
EmailSubscriptionSummaryCardInherited from Element
Parameters
- config Action<EmailSubscriptionSummaryCard>
public EmailSurveyOptions EmailSurveyOptions() #Returns:
EmailSurveyOptionsInherited from Element
Parameters
- config Action<EmailSurveyOptions>
public Element EmailTable<T>(IEnumerable<T> data, Action<EmailDynamicTable<T>> config) #Returns:
ElementInherited from Element
Type Parameters
- T
Parameters
- config Action<EmailTable>
public Element EmailText(Action<EmailText> config) #Returns:
ElementInherited from Element
Parameters
- content String = ""
public EmailTextBlock EmailTextBlock() #Returns:
EmailTextBlockInherited from Element
Parameters
- config Action<EmailTextBlock>
public EmailTodoList EmailTodoList() #Returns:
EmailTodoListInherited from Element
Parameters
- config Action<EmailTodoList>
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
public override Void EvaluateLayout(LayoutContext context) #Returns:
VoidInherited from EmailTable
Parameters
- context LayoutContext
public EmailTable PopulateFromData(IEnumerable<IDictionary<String, Object>> data, Boolean transpose = false) #Returns:
EmailTableInherited from EmailTable
Type Parameters
- T
Parameters
- data IEnumerable<T>
- transpose Boolean = false
public EmailTable WithAutoMobileStackedLayout(Boolean enabled = true) #Returns:
EmailTableInherited from EmailTable
Parameters
- enabled Boolean = true
public EmailTable WithAutoMobileStackedMinColumns(Int32 columns) #Returns:
EmailTableInherited from EmailTable
Parameters
- columns Int32
public EmailTable WithBorderRadius(String radius) #Returns:
EmailTableInherited from EmailTable
Parameters
- radius String
public EmailTable WithBorders(Boolean include = true, String color = "#e2e8f0") #Returns:
EmailTableInherited from EmailTable
Parameters
- include Boolean = true
- color String = "#e2e8f0"
public EmailTable WithCellPadding(EmailTablePadding padding) #Returns:
EmailTableInherited from EmailTable
Parameters
- padding EmailTablePadding
public EmailTable WithConditionalFormatting(Action<EmailTableConditionalFormatting> configure) #Returns:
EmailTableInherited from EmailTable
Parameters
- configure Action<EmailTableConditionalFormatting>
public override Element WithCssClass(String cssClass) #Returns:
ElementInherited from Element
Parameters
- cssClass String
public EmailTable WithCustomCellPadding(String padding) #Returns:
EmailTableInherited from EmailTable
Parameters
- padding String
public EmailTable WithFixedLayout(Boolean enabled = true) #Returns:
EmailTableInherited from EmailTable
Parameters
- enabled Boolean = true
public override Element WithMargin(String margin) #Returns:
ElementInherited from Element
Parameters
- margin String
public EmailTable WithMobileStackedBreakpoint(Int32 px) #Returns:
EmailTableInherited from EmailTable
Parameters
- px Int32
public EmailTable WithMobileStackedLabelWidth(String width) #Returns:
EmailTableInherited from EmailTable
Parameters
- width String
public EmailTable WithMobileStackedLayout(Boolean enabled = true) #Returns:
EmailTableInherited from EmailTable
Parameters
- enabled Boolean = true
public EmailTable WithMobileStackedRowGap(Int32 px) #Returns:
EmailTableInherited from EmailTable
Parameters
- px Int32
public override Element WithPadding(String padding) #Returns:
ElementInherited from Element
Parameters
- padding String
public EmailTable WithRoundedBorderSpacing(Int32 horizontalSpacing = 16) #Returns:
EmailTableInherited from EmailTable
Parameters
- horizontalSpacing Int32 = 16
public override sealed EmailTable WithRoundingMode(RoundingMode mode) #Returns:
EmailTableInherited from EmailTable
Parameters
- mode RoundingMode
public EmailTable WithStriped(Boolean striped = true, String color = "#f1f5f9") #Returns:
EmailTableInherited from EmailTable
Parameters
- striped Boolean = true
- color String = "#f1f5f9"
public EmailTable WithStyle(EmailTableStyle style) #Returns:
EmailTableInherited from EmailTable
Parameters
- style EmailTableStyle
public EmailTable WithThemeAwareDefaults(Boolean enabled = true) #Returns:
EmailTableInherited from EmailTable
Parameters
- enabled Boolean = true
Properties
public Boolean Transpose { get; set; } #Gets or sets a value indicating whether the table should transpose its rows and columns when rendered.
Inherited Properties
public List<EmailTableHeader> Headers { get; set; } #Inherited from EmailTable
public List<EmailTableRow> Rows { get; set; } #Inherited from EmailTable
public Boolean IncludeBorders { get; set; } #Inherited from EmailTable
public Boolean StripedRows { get; set; } #Inherited from EmailTable
public Boolean ThemeAwareDefaults { get; set; } #Inherited from EmailTable
public EmailTableConditionalFormatting ConditionalFormatting { get; set; } #Inherited from EmailTable
public EmailTablePadding CellPadding { get; set; } #Inherited from EmailTable
public String CustomCellPadding { get; set; } #Inherited from EmailTable
public Int32 ExtraHorizontalSpacing { get; set; } #Inherited from EmailTable
public String BorderRadius { get; set; } #Inherited from EmailTable
public Boolean UseFixedLayout { get; set; } #Inherited from EmailTable
public Boolean UseMobileStackedLayout { get; set; } #Inherited from EmailTable
public Boolean AutoMobileStackedLayout { get; set; } #Inherited from EmailTable
public Int32 AutoMobileStackedLayoutMinColumns { get; set; } #Inherited from EmailTable
public String MobileStackedLabelWidth { get; set; } #Inherited from EmailTable
public Int32 MobileStackedBreakpointPx { get; set; } #Inherited from EmailTable
public Int32 MobileStackedRowGapPx { get; set; } #Inherited from EmailTable
public override sealed RoundingMode RoundingMode { get; set; } #Inherited from EmailTable