Class RadWebCamElement
Represents the UI that users can interact with in a RadWebCam control.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadWebCam.dll
Syntax
public class RadWebCamElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadWebCamElement(RadWebCam)
Initializes a new instance of the RadWebCamElement class.
Declaration
public RadWebCamElement(RadWebCam radWebCam)
Parameters
RadWebCam
radWebCam
|
Properties
CenterElementsStack
Gets the center elements stack.
Declaration
public StackLayoutPanel CenterElementsStack { get; }
Property Value
StackLayoutPanel
|
DiscardSnapshotButton
Gets the discard snapshot button element.
Declaration
public RadButtonElement DiscardSnapshotButton { get; }
Property Value
RadButtonElement
|
IsPreviewingSnapshot
Gets a value indicating whether the component is curently in preview a snapshot mode.
Declaration
public bool IsPreviewingSnapshot { get; set; }
Property Value
System.Boolean
|
LeftElementsStack
Gets the left elements stack.
Declaration
public StackLayoutPanel LeftElementsStack { get; }
Property Value
StackLayoutPanel
|
RecordingDotElement
Gets the toggle recording button element.
Declaration
public LightVisualElement RecordingDotElement { get; }
Property Value
LightVisualElement
|
RecordingTimeLabel
Gets the toggle recording button element.
Declaration
public RadLabelElement RecordingTimeLabel { get; }
Property Value
RadLabelElement
|
RightElementsStack
Gets the right elements stack.
Declaration
public StackLayoutPanel RightElementsStack { get; }
Property Value
StackLayoutPanel
|
SaveSnapshotButton
Gets the save snapshot button element.
Declaration
public RadButtonElement SaveSnapshotButton { get; }
Property Value
RadButtonElement
|
SettingsButton
Gets the settings button element.
Declaration
public RadButtonElement SettingsButton { get; }
Property Value
RadButtonElement
|
TakeSnapshotButton
Gets the take snapshot button element.
Declaration
public RadButtonElement TakeSnapshotButton { get; }
Property Value
RadButtonElement
|
ToggleRecordingButton
Gets the toggle recording button element.
Declaration
public RadButtonElement ToggleRecordingButton { get; }
Property Value
RadButtonElement
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CreateCenterElementsStack()
Creates the CenterElementsStack.
Declaration
protected virtual StackLayoutPanel CreateCenterElementsStack()
Returns
StackLayoutPanel
|
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateDiscardSnapshotButton()
Creates the TakeSnapshotButton.
Declaration
protected virtual RadButtonElement CreateDiscardSnapshotButton()
Returns
RadButtonElement
|
CreateLeftElementsStack()
Creates the LeftElementsStack.
Declaration
protected virtual StackLayoutPanel CreateLeftElementsStack()
Returns
StackLayoutPanel
|
CreateRecordingDotElement()
Creates the RecordingDotElement
Declaration
protected virtual LightVisualElement CreateRecordingDotElement()
Returns
LightVisualElement
|
CreateRecordingTimeLabel()
Creates the RecordingTimeLabel
Declaration
protected virtual RadLabelElement CreateRecordingTimeLabel()
Returns
RadLabelElement
|
CreateRightElementsStack()
Creates the RightElementsStack.
Declaration
protected virtual StackLayoutPanel CreateRightElementsStack()
Returns
StackLayoutPanel
|
CreateSaveSnapshotButton()
Creates the TakeSnapshotButton.
Declaration
protected virtual RadButtonElement CreateSaveSnapshotButton()
Returns
RadButtonElement
|
CreateSettingsButton()
Creates the SettingsButton.
Declaration
protected virtual RadButtonElement CreateSettingsButton()
Returns
RadButtonElement
|
CreateTakeSnapshotButton()
Creates the TakeSnapshotButton.
Declaration
protected virtual RadButtonElement CreateTakeSnapshotButton()
Returns
RadButtonElement
|
CreateToggleRecordingButton()
Creates the ToggleRecordingButton.
Declaration
protected virtual RadButtonElement CreateToggleRecordingButton()
Returns
RadButtonElement
|
DiscardSnapshot_Click(Object, EventArgs)
Called when the DiscardSnapshotButton is clicked.
Declaration
protected virtual void DiscardSnapshot_Click(object sender, EventArgs e)
Parameters
System.Object
sender
|
System.EventArgs
e
|
SaveSnapshot_Click(Object, EventArgs)
Called when the SaveSnapshotButton is clicked.
Declaration
protected virtual void SaveSnapshot_Click(object sender, EventArgs e)
Parameters
System.Object
sender
|
System.EventArgs
e
|
SetIsPreviewingSnapshot(Boolean)
Sets up the control for displaying a snapshot.
Declaration
protected virtual void SetIsPreviewingSnapshot(bool value)
Parameters
System.Boolean
value
|
Settings_Click(Object, EventArgs)
Called when the SettingsButton is clicked.
Declaration
protected virtual void Settings_Click(object sender, EventArgs e)
Parameters
System.Object
sender
|
System.EventArgs
e
|
ShouldArrangeChild(RadElement)
Determines whether a given child should be arranged.For example when base.ArrangeOverride is called, but we have custom layout logic for current element.
Declaration
protected override bool ShouldArrangeChild(RadElement child)
Parameters
RadElement
child
|
Returns
System.Boolean
|
Overrides
TakeSnapshot_Click(Object, EventArgs)
Called when the TakeSnapshotButton is clicked.
Declaration
protected virtual void TakeSnapshot_Click(object sender, EventArgs e)
Parameters
System.Object
sender
|
System.EventArgs
e
|
ToggleRecording_Click(Object, EventArgs)
Called when the ToggleRecordingButton is clicked.
Declaration
protected virtual void ToggleRecording_Click(object sender, EventArgs e)
Parameters
System.Object
sender
|
System.EventArgs
e
|