Share via


DataLabel class

Defines the DataLabel Class.This class is only available in O15. When the object is serialized out as xml, its qualified name is c15:dLbl.

Inheritance hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office15.Drawing.Chart.DataLabel

Namespace:  DocumentFormat.OpenXml.Office15.Drawing.Chart
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(TextProperties))> _
<ChildElementInfoAttribute(GetType(Index))> _
<ChildElementInfoAttribute(GetType(Delete))> _
<ChildElementInfoAttribute(GetType(Layout))> _
<ChildElementInfoAttribute(GetType(ChartText))> _
<ChildElementInfoAttribute(GetType(NumberingFormat))> _
<ChildElementInfoAttribute(GetType(ChartShapeProperties))> _
<ChildElementInfoAttribute(GetType(DataLabelPosition))> _
<ChildElementInfoAttribute(GetType(ShowLegendKey))> _
<ChildElementInfoAttribute(GetType(ShowValue))> _
<ChildElementInfoAttribute(GetType(ShowCategoryName))> _
<ChildElementInfoAttribute(GetType(ShowSeriesName))> _
<ChildElementInfoAttribute(GetType(ShowPercent))> _
<ChildElementInfoAttribute(GetType(ShowBubbleSize))> _
<ChildElementInfoAttribute(GetType(Separator))> _
<ChildElementInfoAttribute(GetType(DLblExtensionList))> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office15)> _
Public Class DataLabel _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As DataLabel
[ChildElementInfoAttribute(typeof(TextProperties))]
[ChildElementInfoAttribute(typeof(Index))]
[ChildElementInfoAttribute(typeof(Delete))]
[ChildElementInfoAttribute(typeof(Layout))]
[ChildElementInfoAttribute(typeof(ChartText))]
[ChildElementInfoAttribute(typeof(NumberingFormat))]
[ChildElementInfoAttribute(typeof(ChartShapeProperties))]
[ChildElementInfoAttribute(typeof(DataLabelPosition))]
[ChildElementInfoAttribute(typeof(ShowLegendKey))]
[ChildElementInfoAttribute(typeof(ShowValue))]
[ChildElementInfoAttribute(typeof(ShowCategoryName))]
[ChildElementInfoAttribute(typeof(ShowSeriesName))]
[ChildElementInfoAttribute(typeof(ShowPercent))]
[ChildElementInfoAttribute(typeof(ShowBubbleSize))]
[ChildElementInfoAttribute(typeof(Separator))]
[ChildElementInfoAttribute(typeof(DLblExtensionList))]
[OfficeAvailabilityAttribute(FileFormatVersions.Office15)]
public class DataLabel : OpenXmlCompositeElement

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

DataLabel members

DocumentFormat.OpenXml.Office15.Drawing.Chart namespace