wpf-devexpress-dot-xpf-dot-accordion-dot-accordioncontrol-38dfea7f.md
Specifies the text that is displayed when the AccordionControl does not contain any items. This is a dependency property.
Namespace : DevExpress.Xpf.Accordion
Assembly : DevExpress.Xpf.Accordion.v25.2.dll
NuGet Package : DevExpress.Wpf.Accordion
public string EmptySourceText { get; set; }
Public Property EmptySourceText As String
| Type | Description |
|---|---|
| String |
A text that notifies the user that the accordion does not contain any items.
|
If the HasItems property returns false , the AccordionControl displays a notification:
Use the EmptySourceText property to change the notification text.
You can customize the notification by changing EmptySourceTemplate as follows:
<dx:ThemedWindow.Resources>
<ControlTemplate x:Key="{dxat:AccordionThemeKeys ResourceKey=EmptySourceTemplate,
IsThemeIndependent = true}">
<Image Source="{dx:DXImage 'SvgImages/Dashboards/DeleteDataSource.svg'}" Height="64"/>
</ControlTemplate>
</dx:ThemedWindow.Resources>
See Also