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

FilterBox.HorizontalPosition Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

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