FilterBox.HorizontalPosition Property
Gets or sets the filter box’s horizontal position within the ASPxTitleIndex control.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(FilterBoxPosition.Right)]
public FilterBoxPosition HorizontalPosition { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Filter |
Right | One of the Filter |
Available values:
Name | Description |
---|---|
Left | The Filter Box is aligned to the left edge of the ASPx |
Right | The Filter Box is aligned to the right edge of the ASPx |
Center | The Filter Box is centered within the ASPx |
#Remarks
To specify the filter box’s vertical position, use the FilterBox.VerticalPosition property.
#Example
This example demonstrates how to use soft filtering (the ASPxTitleIndex.SoftFiltering property) for the ASPxTitleIndex control.
<dxti:ASPxTitleIndex ID="ASPxTitleIndex1" runat="server"
DataSourceID="XmlDataSource1" SoftFiltering="True">
<IndexPanel Visible="False" />
<FilterBox AutoFocus="True" Delay="500" HorizontalPosition="Left" />
<Columns>
<dxti:Column>
</dxti:Column>
<dxti:Column>
</dxti:Column>
<dxti:Column>
</dxti:Column>
</Columns>
</dxti:ASPxTitleIndex>
<asp:XmlDataSource ID="XmlDataSource1" runat="server"
DataFile="~/App_Data/Countries Auto Binding.xml"></asp:XmlDataSource>