Skip to main content
All docs
V24.2

ThemedWindow.SearchItemTemplate Property

Gets or sets a template for the search item box. This is a dependency property.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public DataTemplate SearchItemTemplate { get; set; }

Property Value

Type Description
DataTemplate

A data template.

Remarks

The following example implements a custom template for the ThemedWindow’s search item:

<dx:ThemedWindow ...
      xmlns:native="http://schemas.devexpress.com/winfx/2008/xaml/bars/internal">
    <dx:ThemedWindow.SearchItemTemplate>
        <DataTemplate>
            <Border CornerRadius="10" BorderThickness="1" Padding="5" BorderBrush="Red" >
                <native:BarItemSearchControl ToolTip="Search button in ribbon" />
            </Border>
        </DataTemplate>
    </dx:ThemedWindow.SearchItemTemplate>
</dx:ThemedWindow>
See Also