Intersoft ClientUI Documentation
UXScroller Class
Members  See Also  Send Feedback
Intersoft.Client.UI.Aqua Namespace : UXScroller Class






Provides a lightweight control for scrolling a content.

Object Model

UXScroller Class

Syntax

Visual Basic (Declaration) 
<TemplatePartAttribute(Name="DownPointer", Type=Intersoft.Client.UI.Aqua.UXButton)>
<TemplatePartAttribute(Name="LeftPointer", Type=Intersoft.Client.UI.Aqua.UXButton)>
<TemplatePartAttribute(Name="RightPointer", Type=Intersoft.Client.UI.Aqua.UXButton)>
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="UpPointer", Type=Intersoft.Client.UI.Aqua.UXButton)>
<TemplatePartAttribute(Name="ScrollViewer", Type=System.Windows.Controls.ScrollViewer)>
<DescriptionAttribute("Provides a lightweight control for scrolling a content.")>
<TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)>
Public Class UXScroller 
   Inherits Intersoft.Client.Framework.ISContentControl
   Implements IControlIFramework, ILicensing 
Visual Basic (Usage)Copy Code
Dim instance As UXScroller
C# 
[TemplatePartAttribute(Name="DownPointer", Type=Intersoft.Client.UI.Aqua.UXButton)]
[TemplatePartAttribute(Name="LeftPointer", Type=Intersoft.Client.UI.Aqua.UXButton)]
[TemplatePartAttribute(Name="RightPointer", Type=Intersoft.Client.UI.Aqua.UXButton)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="UpPointer", Type=Intersoft.Client.UI.Aqua.UXButton)]
[TemplatePartAttribute(Name="ScrollViewer", Type=System.Windows.Controls.ScrollViewer)]
[DescriptionAttribute("Provides a lightweight control for scrolling a content.")]
[TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)]
public class UXScroller : Intersoft.Client.Framework.ISContentControl, IControlIFramework, ILicensing  
Delphi 
public class UXScroller = class(Intersoft.Client.Framework.ISContentControl, IControl, IFramework, ILicensing)
JScript 
TemplatePartAttribute(Name="DownPointer", Type=Intersoft.Client.UI.Aqua.UXButton)
TemplatePartAttribute(Name="LeftPointer", Type=Intersoft.Client.UI.Aqua.UXButton)
TemplatePartAttribute(Name="RightPointer", Type=Intersoft.Client.UI.Aqua.UXButton)
TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)
TemplatePartAttribute(Name="UpPointer", Type=Intersoft.Client.UI.Aqua.UXButton)
TemplatePartAttribute(Name="ScrollViewer", Type=System.Windows.Controls.ScrollViewer)
DescriptionAttribute("Provides a lightweight control for scrolling a content.")
TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)
public class UXScroller extends Intersoft.Client.Framework.ISContentControl implements IControlIFramework, ILicensing 
Managed Extensions for C++ 
[TemplatePartAttribute(Name="DownPointer", Type=Intersoft.Client.UI.Aqua.UXButton)]
[TemplatePartAttribute(Name="LeftPointer", Type=Intersoft.Client.UI.Aqua.UXButton)]
[TemplatePartAttribute(Name="RightPointer", Type=Intersoft.Client.UI.Aqua.UXButton)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="UpPointer", Type=Intersoft.Client.UI.Aqua.UXButton)]
[TemplatePartAttribute(Name="ScrollViewer", Type=System.Windows.Controls.ScrollViewer)]
[DescriptionAttribute("Provides a lightweight control for scrolling a content.")]
[TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)]
public __gc class UXScroller : public Intersoft.Client.Framework.ISContentControl, IControlIFramework, ILicensing  
C++/CLI 
[TemplatePartAttribute(Name="DownPointer", Type=Intersoft.Client.UI.Aqua.UXButton)]
[TemplatePartAttribute(Name="LeftPointer", Type=Intersoft.Client.UI.Aqua.UXButton)]
[TemplatePartAttribute(Name="RightPointer", Type=Intersoft.Client.UI.Aqua.UXButton)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="UpPointer", Type=Intersoft.Client.UI.Aqua.UXButton)]
[TemplatePartAttribute(Name="ScrollViewer", Type=System.Windows.Controls.ScrollViewer)]
[DescriptionAttribute("Provides a lightweight control for scrolling a content.")]
[TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)]
public ref class UXScroller : public Intersoft.Client.Framework.ISContentControl, IControlIFramework, ILicensing  

Remarks

UXScroller is a lightweight control used to perform scrolling on its content.

To use UXScroller, you placed a UIElement as the content of the UXScroller with fixed width or height depending on the orientation.

The following example shows how to use a UXScroller control as a scrollable container.

XAML Copy Code
<Intersoft:UXScroller HorizontalAlignment="Left" Height="200" VerticalAlignment="Top" Width="150">
    <Grid Height="400" Width="150">
        <Grid.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="#FFFFD200" Offset="0.007"/>
                <GradientStop Color="White" Offset="1"/>
            </LinearGradientBrush>
        </Grid.Background>
        <TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit..... " VerticalAlignment="Top"/>
    </Grid>
</Intersoft:UXScroller>

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ContentControl
                  Intersoft.Client.Framework.ISContentControl
                     Intersoft.Client.UI.Aqua.UXScroller

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.