Class RadWebCamElement
Represents the UI that users can interact with in a Rad
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 Rad
Declaration
public RadWebCamElement(RadWebCam radWebCam)
Parameters
Rad
|
Properties
CenterElementsStack
Gets the center elements stack.
Declaration
public StackLayoutPanel CenterElementsStack { get; }
Property Value
DiscardSnapshotButton
Gets the discard snapshot button element.
Declaration
public RadButtonElement DiscardSnapshotButton { get; }
Property Value
IsPreviewingSnapshot
Gets a value indicating whether the component is curently in preview a snapshot mode.
Declaration
public bool IsPreviewingSnapshot { get; set; }
Property Value
System.
|
LeftElementsStack
Gets the left elements stack.
Declaration
public StackLayoutPanel LeftElementsStack { get; }
Property Value
RecordingDotElement
Gets the toggle recording button element.
Declaration
public LightVisualElement RecordingDotElement { get; }
Property Value
RecordingTimeLabel
Gets the toggle recording button element.
Declaration
public RadLabelElement RecordingTimeLabel { get; }
Property Value
RightElementsStack
Gets the right elements stack.
Declaration
public StackLayoutPanel RightElementsStack { get; }
Property Value
SaveSnapshotButton
Gets the save snapshot button element.
Declaration
public RadButtonElement SaveSnapshotButton { get; }
Property Value
SettingsButton
Gets the settings button element.
Declaration
public RadButtonElement SettingsButton { get; }
Property Value
TakeSnapshotButton
Gets the take snapshot button element.
Declaration
public RadButtonElement TakeSnapshotButton { get; }
Property Value
ToggleRecordingButton
Gets the toggle recording button element.
Declaration
public RadButtonElement ToggleRecordingButton { get; }
Property Value
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.
|
Returns
System.
|
Overrides
CreateCenterElementsStack()
Creates the Center
Declaration
protected virtual StackLayoutPanel CreateCenterElementsStack()
Returns
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateDiscardSnapshotButton()
Creates the Take
Declaration
protected virtual RadButtonElement CreateDiscardSnapshotButton()
Returns
CreateLeftElementsStack()
Creates the Left
Declaration
protected virtual StackLayoutPanel CreateLeftElementsStack()
Returns
CreateRecordingDotElement()
Creates the Recording
Declaration
protected virtual LightVisualElement CreateRecordingDotElement()
Returns
CreateRecordingTimeLabel()
Creates the Recording
Declaration
protected virtual RadLabelElement CreateRecordingTimeLabel()
Returns
CreateRightElementsStack()
Creates the Right
Declaration
protected virtual StackLayoutPanel CreateRightElementsStack()
Returns
CreateSaveSnapshotButton()
Creates the Take
Declaration
protected virtual RadButtonElement CreateSaveSnapshotButton()
Returns
CreateSettingsButton()
Creates the Settings
Declaration
protected virtual RadButtonElement CreateSettingsButton()
Returns
CreateTakeSnapshotButton()
Creates the Take
Declaration
protected virtual RadButtonElement CreateTakeSnapshotButton()
Returns
CreateToggleRecordingButton()
Creates the Toggle
Declaration
protected virtual RadButtonElement CreateToggleRecordingButton()
Returns
DiscardSnapshot_Click(Object, EventArgs)
Called when the Discard
Declaration
protected virtual void DiscardSnapshot_Click(object sender, EventArgs e)
Parameters
System.
|
System.
|
SaveSnapshot_Click(Object, EventArgs)
Called when the Save
Declaration
protected virtual void SaveSnapshot_Click(object sender, EventArgs e)
Parameters
System.
|
System.
|
SetIsPreviewingSnapshot(Boolean)
Sets up the control for displaying a snapshot.
Declaration
protected virtual void SetIsPreviewingSnapshot(bool value)
Parameters
System.
|
Settings_Click(Object, EventArgs)
Called when the Settings
Declaration
protected virtual void Settings_Click(object sender, EventArgs e)
Parameters
System.
|
System.
|
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
Rad
|
Returns
System.
|
Overrides
TakeSnapshot_Click(Object, EventArgs)
Called when the Take
Declaration
protected virtual void TakeSnapshot_Click(object sender, EventArgs e)
Parameters
System.
|
System.
|
ToggleRecording_Click(Object, EventArgs)
Called when the Toggle
Declaration
protected virtual void ToggleRecording_Click(object sender, EventArgs e)
Parameters
System.
|
System.
|