Class
PictureControl

Represents the picture content control.

Definition

Namespace:Telerik.Windows.Controls.RichTextBoxUI

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class PictureControl : ContentControlBase, IContentControl

Inheritance: objectContentControlBasePictureControl

Implements: IContentControl

Inherited Members ContentControlBase.AliasPropertyContentControlBase.AliasFontSizePropertyContentControlBase.HoveredPropertyContentControlBase.FocusedPropertyContentControlBase.LineThicknessPropertyContentControlBase.OutlineColorPropertyContentControlBase.PolygonPointsPropertyContentControlBase.TextFlowDirectionPropertyContentControlBase.SelectedPropertyContentControlBase.ThumbShouldBeVisiblePropertyContentControlBase.TopThumbButtonShouldBeVisiblePropertyContentControlBase.SelectCommandPropertyContentControlBase.OnApplyTemplate()ContentControlBase.ArrangeOverride(Size)ContentControlBase.GetCurrentState()ContentControlBase.Initialize(ContentControlState)ContentControlBase.GetBodyElementName()ContentControlBase.AliasFontSizeContentControlBase.AliasContentControlBase.SelectedContentControlBase.HoveredContentControlBase.FocusedContentControlBase.LineThicknessContentControlBase.OutlineColorContentControlBase.PolygonPointsContentControlBase.TextFlowDirectionContentControlBase.ThumbShouldBeVisibleContentControlBase.TopThumbButtonShouldBeVisibleContentControlBase.SelectCommand

Constructors

PictureControl()

Declaration

cs-api-definition
public PictureControl()

Fields

InsertPictureCommandProperty

Identifies the InsertPictureCommand dependecy property.

Declaration

cs-api-definition
public static readonly DependencyProperty InsertPictureCommandProperty

Field Value

DependencyProperty

Properties

InsertPictureCommand

Gets or sets value that indicates the command to be executed when new picture is to be inserted.

Declaration

cs-api-definition
public ICommand InsertPictureCommand { get; set; }

Property Value

ICommand

Methods

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

Overrides ContentControlBase.OnInitialized(EventArgs)

UpdateState(ContentControlState)

Updates the state of the control.

Declaration

cs-api-definition
public override void UpdateState(ContentControlState state)

Parameters

state

ContentControlState

The state to be applied to the control.

Overrides ContentControlBase.UpdateState(ContentControlState)