Skip to main content
Tab

FilterBox.HorizontalPosition Property

Gets or sets the filter box’s horizontal position within the ASPxTitleIndex control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(FilterBoxPosition.Right)]
public FilterBoxPosition HorizontalPosition { get; set; }

Property Value

Type Default Description
FilterBoxPosition Right

One of the FilterBoxPosition enumeration values.

Available values:

Name Description
Left

The Filter Box is aligned to the left edge of the ASPxTitleIndex control.

FilterBoxPosition_Left

Right

The Filter Box is aligned to the right edge of the ASPxTitleIndex control.

FilterBoxPosition_Right

Center

The Filter Box is centered within the ASPxTitleIndex control.

FilterBoxPosition_Center

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>
See Also