Intersoft.Client.UI.Aqua Namespace : UXScroller Class |
<DescriptionAttribute("Provides a lightweight control for scrolling a content.")> <TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)> <TemplatePartAttribute(Name="RightPointer", Type=Intersoft.Client.UI.Aqua.UXButton)> <TemplatePartAttribute(Name="ScrollViewer", Type=System.Windows.Controls.ScrollViewer)> <TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)> <TemplatePartAttribute(Name="UpPointer", Type=Intersoft.Client.UI.Aqua.UXButton)> <TemplatePartAttribute(Name="DownPointer", Type=Intersoft.Client.UI.Aqua.UXButton)> <TemplatePartAttribute(Name="LeftPointer", Type=Intersoft.Client.UI.Aqua.UXButton)> Public Class UXScroller Inherits Intersoft.Client.Framework.ISContentControl Implements Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing
Dim instance As UXScroller
[DescriptionAttribute("Provides a lightweight control for scrolling a content.")] [TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)] [TemplatePartAttribute(Name="RightPointer", Type=Intersoft.Client.UI.Aqua.UXButton)] [TemplatePartAttribute(Name="ScrollViewer", Type=System.Windows.Controls.ScrollViewer)] [TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="UpPointer", Type=Intersoft.Client.UI.Aqua.UXButton)] [TemplatePartAttribute(Name="DownPointer", Type=Intersoft.Client.UI.Aqua.UXButton)] [TemplatePartAttribute(Name="LeftPointer", Type=Intersoft.Client.UI.Aqua.UXButton)] public class UXScroller : Intersoft.Client.Framework.ISContentControl, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing
[DescriptionAttribute("Provides a lightweight control for scrolling a content.")] [TemplatePartAttribute(Name="ContentPresenter", Type=System.Windows.Controls.ContentPresenter)] [TemplatePartAttribute(Name="RightPointer", Type=Intersoft.Client.UI.Aqua.UXButton)] [TemplatePartAttribute(Name="ScrollViewer", Type=System.Windows.Controls.ScrollViewer)] [TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="UpPointer", Type=Intersoft.Client.UI.Aqua.UXButton)] [TemplatePartAttribute(Name="DownPointer", Type=Intersoft.Client.UI.Aqua.UXButton)] [TemplatePartAttribute(Name="LeftPointer", Type=Intersoft.Client.UI.Aqua.UXButton)] public ref class UXScroller : public Intersoft.Client.Framework.ISContentControl, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing
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> |
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
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