Intersoft ClientUI Documentation
ScrollIndicatorBinding Property



Gets or sets the binding that associates the scroll indicator with property in the data source.
Syntax
<CategoryAttribute("Common Properties")>
Public Property ScrollIndicatorBinding As Binding
Dim instance As UXGridView
Dim value As Binding
 
instance.ScrollIndicatorBinding = value
 
value = instance.ScrollIndicatorBinding
[CategoryAttribute("Common Properties")]
public Binding ScrollIndicatorBinding {get; set;}
[CategoryAttribute("Common Properties")]
public:
property Binding^ ScrollIndicatorBinding {
   Binding^ get();
   void set (    Binding^ value);
}
Remarks

When you need to increase the scrolling performance even further, especially due to larger view port, you can set the HorizontalScrollMode and VerticalScrollMode properties to Deferred. In this mode, the row virtualization will be suspended during scrolling, and resumed when the scrolling completes.

When you set the scroll mode to Deferred, you will see a visual indicator as you scroll through the vertical scroll bar. You can use the ScrollIndicatorBinding or ScrollIndicatorTemplate to customize the appearance and template of the scrolling visual indicator.

Example

The following code shows how to use the ScrollIndicatorBinding to customize the data display in the scroll indicator element.

XAML
Copy Code
<Intersoft:UXGridView ItemsSource="{Binding Products}" 
                        HorizontalScrollMode="Deferred"
                        VerticalScrollMode="Deferred"
                        ScrollIndicatorBinding="{Binding ProductName}">
    <Intersoft:UXGridView.Columns>                    
        <Intersoft:UXGridViewTextColumn Header="Category ID" Binding="{Binding CategoryID}"/>
        <Intersoft:UXGridViewTextColumn Header="Product ID" Binding="{Binding ProductID}"/>
        <Intersoft:UXGridViewTextColumn Header="Product Name" Binding="{Binding ProductName}"/>
        <Intersoft:UXGridViewTextColumn Header="Unit Price" Binding="{Binding UnitPrice}"/>
        <Intersoft:UXGridViewTextColumn Header="Units In Stock" Binding="{Binding UnitsInStock}"/>
        <Intersoft:UXGridViewTextColumn Header="Units On Order" Binding="{Binding UnitsOnOrder}"/>
        <Intersoft:UXGridViewTextColumn Header="Quantity Per Unit" Binding="{Binding QuantityPerUnit}"/>
    </Intersoft:UXGridView.Columns>
</Intersoft:UXGridView>
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXGridView Class
UXGridView Members

Send Feedback