Sdílet prostřednictvím


PictureContentControl.ShowInsertPictureIcon Property

Definition

Gets or sets a value that specifies whether to display the UI that users can click to select an image to display in the control at run time.

public:
 property bool ShowInsertPictureIcon { bool get(); void set(bool value); };
public bool ShowInsertPictureIcon { get; set; }
member this.ShowInsertPictureIcon : bool with get, set
Public Property ShowInsertPictureIcon As Boolean

Property Value

true if the PictureContentControl displays the UI that users can click to select an image to display in the control at run time; otherwise, false. The default is false.

Remarks

If you want to enable users to choose an image to display in the control at run time, set this property to true. Set this property to false if you want to assign an image to the control at design time, and you do not want users to change the image at run time.

Applies to