Back to Devexpress

AccordionControl.SearchControlNullText Property

wpf-devexpress-dot-xpf-dot-accordion-dot-accordioncontrol-4cdfb080.md

latest1.8 KB
Original Source

AccordionControl.SearchControlNullText Property

Gets or sets the text displayed within the search box when the search text is null. This is a dependency property.

Namespace : DevExpress.Xpf.Accordion

Assembly : DevExpress.Xpf.Accordion.v25.2.dll

NuGet Package : DevExpress.Wpf.Accordion

Declaration

csharp
public string SearchControlNullText { get; set; }
vb
Public Property SearchControlNullText As String

Property Value

TypeDescription
String

A String value that specifies the string displayed within the search box when the search text is null.

|

Remarks

Use the SearchControlNullText property to specify a string that the search box displays when it is empty and not focused:

xaml
<dxa:AccordionControl ShowSearchControl="True" SearchControlNullText="Type here to search"> ... </dxa:AccordionControl>

The image below shows the result:

Refer to the Searching topic to learn more.

See Also

AccordionControl Class

AccordionControl Members

DevExpress.Xpf.Accordion Namespace