Class RadSlideViewElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadSlideViewElement : BaseNavigationElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadSlideViewElement()
Declaration
public RadSlideViewElement()
Properties
AllowAnimation
Gets or sets a value indicating whether to use animation when changing its state.
Declaration
public override bool AllowAnimation { get; set; }
Property Value
System.
|
Overrides
AnimationFrames
Gets or sets the animation frames.
Declaration
public override int AnimationFrames { get; set; }
Property Value
System.
|
Overrides
AnimationType
Gets or sets the type of the animation that is executed between the slides.
Declaration
public AnimationType AnimationType { get; set; }
Property Value
ButtonsVisibility
Determines whether and how to display the navigation buttons.
Declaration
public override ButtonsVisibility ButtonsVisibility { get; set; }
Property Value
Overrides
ContentElement
Use the Template
Declaration
public override LightVisualElement ContentElement { get; protected set; }
Property Value
Overrides
Mappings
Gets the mappings collection. They offer option to map properties from the Template
Declaration
public List<Mapping> Mappings { get; }
Property Value
System.
|
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.
|
TemplateElement
Gets or sets the template element that is responsible to display the content.
Declaration
public LightVisualElement TemplateElement { get; set; }
Property Value
Methods
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateContentElement()
Declaration
protected override LightVisualElement CreateContentElement()
Returns
Overrides
CreateSnapshot(Int32, Int32)
Declaration
protected virtual Image CreateSnapshot(int newIndex, int oldIndex)
Parameters
System.
|
System.
|
Returns
System.
|
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
GetBoundValue(Object, String)
Declaration
protected virtual object GetBoundValue(object dataBoundItem, string propertyName)
Parameters
System.
|
System.
|
Returns
System.
|
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
OnAnimationFinished(AnimationStatusEventArgs)
Declaration
protected override void OnAnimationFinished(AnimationStatusEventArgs e)
Parameters
Overrides
OnBindingSourceChanged()
Declaration
protected override void OnBindingSourceChanged()
Overrides
OnMappedPropertyUpdating(MappedPropertyUpdatingEventArgs)
Declaration
protected virtual void OnMappedPropertyUpdating(MappedPropertyUpdatingEventArgs args)
Parameters
OnSelectedIndexChanged(SelectedIndexChangedEventArgs)
Declaration
protected virtual void OnSelectedIndexChanged(SelectedIndexChangedEventArgs args)
Parameters
OnTemplateUpdated(TemplateUpdatedEventArgs)
Declaration
protected virtual void OnTemplateUpdated(TemplateUpdatedEventArgs args)
Parameters
PaintBackgroundImage(IGraphics)
Declaration
protected override void PaintBackgroundImage(IGraphics graphics)
Parameters
IGraphics
graphics
|
Overrides
SelectCore(Int32, Int32, Boolean)
Declaration
protected override void SelectCore(int oldIndex, int newIndex, bool animate)
Parameters
System.
|
System.
|
System.
|
Overrides
SetMappedProperty(VisualElement, RadProperty, String, Object)
Declaration
protected virtual void SetMappedProperty(VisualElement element, RadProperty property, string propertyName, object dataObject)
Parameters
Visual
|
Rad
|
System.
|
System.
|
UpdateTemplate()
Updates the Template
Declaration
public virtual void UpdateTemplate()
UpdateVisualItems()
Declaration
protected override void UpdateVisualItems()
Overrides
Events
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 Template
Declaration
public event UpdateMappedPropertyEventHandler MappedPropertyUpdating
Event Type
SelectedIndexChanged
Occurs when selected index has changed.
Declaration
public event RadSelectedIndexChangedEventHandler SelectedIndexChanged
Event Type
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