Intersoft ClientUI Documentation
ScrollIndicatorBinding Property
See Also  Send Feedback
Intersoft.Client.UI.Data Namespace > UXGridView Class : ScrollIndicatorBinding Property






Gets or sets the binding that associates the scroll indicator with property in the data source.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property ScrollIndicatorBinding As Binding
Visual Basic (Usage)Copy Code
Dim instance As UXGridView
Dim value As Binding
 
instance.ScrollIndicatorBinding = value
 
value = instance.ScrollIndicatorBinding
C# 
[CategoryAttribute("Common Properties")]
public Binding ScrollIndicatorBinding {get; set;}
Delphi 
public read-write property ScrollIndicatorBinding: Binding; 
JScript 
CategoryAttribute("Common Properties")
public function get,set ScrollIndicatorBinding : Binding
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property Binding* get_ScrollIndicatorBinding();
public: __property void set_ScrollIndicatorBinding( 
   Binding* value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property Binding^ ScrollIndicatorBinding {
   Binding^ get();
   void set (    Binding^ value);
}

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>

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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.