Class RadSlideView
A navigation control that allows you to slide between different views.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
[TelerikToolboxCategory("Data Controls")]
public class RadSlideView : RadControl, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider
Constructors
RadSlideView()
Properties
AllowAnimation
Gets or sets a value indicating whether to use animation when changing its state.
Declaration
public bool AllowAnimation { get; set; }
Property Value
System.Boolean
|
AnimationEasingType
Gets or sets the animation easing type.
Declaration
public RadEasingType AnimationEasingType { get; set; }
Property Value
RadEasingType
|
AnimationFrames
Gets or sets the animation frames.
Declaration
public int AnimationFrames { get; set; }
Property Value
System.Int32
|
AnimationInterval
Gets or sets the animation interval.
Declaration
public int AnimationInterval { get; set; }
Property Value
System.Int32
|
AnimationType
Gets or sets the type of the animation that is executed between the slides.
Declaration
public AnimationType AnimationType { get; set; }
Property Value
AnimationType
|
AutoHideButtonsDelay
Determines how long it takes to the navigation buttons to be hidden after the mouse leaves the control(in milliseconds). Used only when the ButtonsVisibility is VisibleOnMouseOver.
Declaration
public int AutoHideButtonsDelay { get; set; }
Property Value
System.Int32
|
AutoSize
This property is not relevant for this class.
Declaration
public override bool AutoSize { get; set; }
Property Value
System.Boolean
|
Overrides
BindingSource
Gets or sets the data source.
Declaration
public BindingSource BindingSource { get; set; }
Property Value
System.Windows.Forms.BindingSource
|
ButtonsVisibility
Determines whether and how to display the navigation buttons.
Declaration
public ButtonsVisibility ButtonsVisibility { get; set; }
Property Value
ButtonsVisibility
|
DefaultSize
Gets the default size of the RadSlideView when a new instance is initialized.
Declaration
protected override Size DefaultSize { get; }
Property Value
System.Drawing.Size
|
IsInfiniteScrollingEnabled
Determines whether infinite scrolling from last to first item and vice versa is enabled.
Declaration
public bool IsInfiniteScrollingEnabled { get; set; }
Property Value
System.Boolean
|
Mappings
Gets the mappings collection. They offer option to map properties from the TemplateElement to the data bound object. Mappings are used only in bounds mode.
Declaration
public List<Mapping> Mappings { get; }
Property Value
System.Collections.Generic.List<Mapping>
|
NumberOfPages
Gets or sets the number of pages. If BindingSource is set, this property returns the System.Windows.Forms.BindingSource.Count.
Declaration
public int NumberOfPages { get; set; }
Property Value
System.Int32
|
Orientation
Gets or sets a value indicating how to orient the navigation buttons - horizontally or vertically.
Declaration
public Orientation Orientation { get; set; }
Property Value
System.Windows.Forms.Orientation
|
SelectedIndex
Gets or sets the selected index.
Declaration
public int SelectedIndex { get; set; }
Property Value
System.Int32
|
ShowButtonsOverContent
Gets or sets a boolean value indicating whether previous and next buttons will be shown over content or outside it. The default value is true, with which the buttons will be displayed over the content.
Declaration
public bool ShowButtonsOverContent { get; set; }
Property Value
System.Boolean
|
SlideViewElement
Gets the main slide view element.
Declaration
public RadSlideViewElement SlideViewElement { get; }
Property Value
RadSlideViewElement
|
TemplateElement
Gets or sets the template element that is responsible to display the content.
Declaration
public LightVisualElement TemplateElement { get; set; }
Property Value
LightVisualElement
|
Text
This property is not relevant for this class.
Declaration
public override string Text { get; set; }
Property Value
System.String
|
Overrides
Methods
CanSelectNext()
Determines whether moving to next item is possible.
Declaration
public bool CanSelectNext()
Returns
System.Boolean
|
CanSelectPrevious()
Determines whether moving to previous item is possible.
Declaration
public bool CanSelectPrevious()
Returns
System.Boolean
|
CreateAccessibilityInstance()
Declaration
protected override AccessibleObject CreateAccessibilityInstance()
Returns
System.Windows.Forms.AccessibleObject
|
CreateChildItems(RadElement)
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
RadElement
parent
|
Overrides
CreateRadSlideViewElement()
Declaration
protected virtual RadSlideViewElement CreateRadSlideViewElement()
Returns
RadSlideViewElement
|
IsInputKey(Keys)
Declaration
protected override bool IsInputKey(Keys keyData)
Parameters
System.Windows.Forms.Keys
keyData
|
Returns
System.Boolean
|
Overrides
OnGotFocus(EventArgs)
Declaration
protected override void OnGotFocus(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
Select(Int32)
Selects the specified index.
Declaration
public void Select(int index)
Parameters
System.Int32
index
The index to be selected. |
Select(Int32, Boolean)
Selects the specified index.
Declaration
public void Select(int index, bool animate)
Parameters
System.Int32
index
The index to be selected. |
System.Boolean
animate
Determines whether to animate the selection process. |
SelectNext()
Moves the selected item to the next one.
Declaration
public void SelectNext()
SelectPrevious()
Moves the selected item to the previous one.
Declaration
public void SelectPrevious()
UpdateVisibility()
Updates the visibility.
Declaration
public virtual void UpdateVisibility()
Events
AnimationFinished
Occurs when the animation is finished.
Declaration
public event AnimationFinishedEventHandler AnimationFinished
Event Type
AnimationFinishedEventHandler
|
AnimationStarted
Occurs when the animation is started.
Declaration
public event AnimationStartedEventHandler AnimationStarted
Event Type
AnimationStartedEventHandler
|
MappedPropertyUpdating
Occurs when a mapped property value is extracted from the data object and is about to be applied to the mapped template property. Suitable to change the type of the mapped property to match the destination type. For example if the mapped property is of type integer and the template property is of type string, this event allows to synchronize value data type to the mapped template property data type. NOTE that, if the value data type does not match the template property type, the property value will be reset. Note that this event is fired only in bound mode(the BindingSource is set). For unbound mode(when NumberOfPages is used) handle the TemplateUpdated event.
Declaration
public event UpdateMappedPropertyEventHandler MappedPropertyUpdating
Event Type
UpdateMappedPropertyEventHandler
|
SelectedIndexChanged
Occurs when selected index has changed.
Declaration
public event RadSelectedIndexChangedEventHandler SelectedIndexChanged
Event Type
RadSelectedIndexChangedEventHandler
|
TemplateUpdated
Occurs when all mappings have been applied, just before the slide is changed. Suitable to change the template styles or properties.
Declaration
public event TemplateUpdatedEventHandler TemplateUpdated
Event Type
TemplateUpdatedEventHandler
|