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.Boolean
|
Overrides
AnimationFrames
Gets or sets the animation frames.
Declaration
public override int AnimationFrames { get; set; }
Property Value
System.Int32
|
Overrides
AnimationType
Gets or sets the type of the animation that is executed between the slides.
Declaration
public AnimationType AnimationType { get; set; }
Property Value
AnimationType
|
ButtonsVisibility
Determines whether and how to display the navigation buttons.
Declaration
public override ButtonsVisibility ButtonsVisibility { get; set; }
Property Value
ButtonsVisibility
|
Overrides
ContentElement
Use the TemplateElement property.
Declaration
public override LightVisualElement ContentElement { get; protected set; }
Property Value
LightVisualElement
|
Overrides
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>
|
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
|
TemplateElement
Gets or sets the template element that is responsible to display the content.
Declaration
public LightVisualElement TemplateElement { get; set; }
Property Value
LightVisualElement
|
Methods
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateContentElement()
Declaration
protected override LightVisualElement CreateContentElement()
Returns
LightVisualElement
|
Overrides
CreateSnapshot(Int32, Int32)
Declaration
protected virtual Image CreateSnapshot(int newIndex, int oldIndex)
Parameters
System.Int32
newIndex
|
System.Int32
oldIndex
|
Returns
System.Drawing.Image
|
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
GetBoundValue(Object, String)
Declaration
protected virtual object GetBoundValue(object dataBoundItem, string propertyName)
Parameters
System.Object
dataBoundItem
|
System.String
propertyName
|
Returns
System.Object
|
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
OnAnimationFinished(AnimationStatusEventArgs)
Declaration
protected override void OnAnimationFinished(AnimationStatusEventArgs e)
Parameters
AnimationStatusEventArgs
e
|
Overrides
OnBindingSourceChanged()
Declaration
protected override void OnBindingSourceChanged()
Overrides
OnMappedPropertyUpdating(MappedPropertyUpdatingEventArgs)
Declaration
protected virtual void OnMappedPropertyUpdating(MappedPropertyUpdatingEventArgs args)
Parameters
MappedPropertyUpdatingEventArgs
args
|
OnSelectedIndexChanged(SelectedIndexChangedEventArgs)
Declaration
protected virtual void OnSelectedIndexChanged(SelectedIndexChangedEventArgs args)
Parameters
SelectedIndexChangedEventArgs
args
|
OnTemplateUpdated(TemplateUpdatedEventArgs)
Declaration
protected virtual void OnTemplateUpdated(TemplateUpdatedEventArgs args)
Parameters
TemplateUpdatedEventArgs
args
|
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.Int32
oldIndex
|
System.Int32
newIndex
|
System.Boolean
animate
|
Overrides
SetMappedProperty(VisualElement, RadProperty, String, Object)
Declaration
protected virtual void SetMappedProperty(VisualElement element, RadProperty property, string propertyName, object dataObject)
Parameters
VisualElement
element
|
RadProperty
property
|
System.String
propertyName
|
System.Object
dataObject
|
UpdateTemplate()
Updates the TemplateElement. In bound mode applies the Mappings to the TemplateElement. For each mapping the MappedPropertyUpdating event is fired. Fires the TemplateUpdated event to enable customization in unbound mode and final touches in bound mode.
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 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
|