Skip to main content
A newer version of this page is available. .

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.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Accordion, DevExpress.Wpf.Navigation

Declaration

public string SearchControlNullText { get; set; }

Property Value

Type Description
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:

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

The image below shows the result:

AccordionSearchCustomText

Refer to the Searching topic to learn more.

See Also