ClassReflectionPrimitive
Represents a RadCarouselReflectionItem primitive that is drawn on the screen.
Definition
Namespace:Telerik.WinControls.Primitives
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class ReflectionPrimitive : BasePrimitive, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, IPrimitive, IDisposable
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementBasePrimitiveReflectionPrimitive
Implements:
Inherited Members
Constructors
ReflectionPrimitive(RadElement)
Default cstor for RadCarouselReflectionPrimitive
Declaration
public ReflectionPrimitive(RadElement ownerElement)
Parameters
ownerElement
which element will be draw
Properties
ItemReflectionPercentage
Represent ItemReflectionPercentage
Declaration
public double ItemReflectionPercentage { get; set; }
Property Value
OwnerElement
Declaration
public RadElement OwnerElement { get; set; }
Property Value
Methods
CarouselContentItem_ElementInvalidated(object, EventArgs)
ElementInvalidated
DisposeManagedResources()
Releases managed resources by clearing the property store and disposing value animators to prevent memory leaks.
Declaration
protected override void DisposeManagedResources()
Overrides
OnBeginDispose()
A callback used by the owning RadControl to notify the element for the beginning of a disposing process.
Declaration
protected override void OnBeginDispose()
Overrides
OnElementTreeChanged(ComponentThemableElementTree)
The element gets notified for a change in its current ElementTree member.
Declaration
protected override void OnElementTreeChanged(ComponentThemableElementTree previousTree)
Parameters
previousTree
The previous element tree instance.
Overrides
PaintElement(IGraphics, float, SizeF)
Paints the element's background and calls the base implementation to paint child elements.
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
graphics
The graphics object used for painting.
angle
The rotation angle to apply during painting.
scale
The scale factor to apply during painting.
Overrides
UpdateReflectionImage(Bitmap)
repaint Reflection Image
Declaration
public void UpdateReflectionImage(Bitmap itemBitmap)
Parameters
itemBitmap