New to Telerik UI for WPFStart a free 30-day trial

Represents the picture content control.

Definition

Constructors

C#
public PictureControl()

Fields

Identifies the InsertPictureCommand dependecy property.

C#
public static readonly DependencyProperty InsertPictureCommandProperty

Properties

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

C#
public ICommand InsertPictureCommand { get; set; }

Methods

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Overrides: ContentControlBase.OnInitialized(EventArgs)

Updates the state of the control.

C#
public override void UpdateState(ContentControlState state)
Parameters:stateContentControlState

The state to be applied to the control.

Overrides: ContentControlBase.UpdateState(ContentControlState)