Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Wpf.Accordion

#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