[]
Contents of the dialog used in C1InsertImageTool.
[TemplatePart(Name = "UrlOKButton", Type = typeof(Button))]
[TemplatePart(Name = "FilePicker", Type = typeof(C1FilePicker))]
[TemplatePart(Name = "FileOKButton", Type = typeof(Button))]
[TemplatePart(Name = "UrlText", Type = typeof(TextBox))]
public class C1ImageDialog : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
| Name | Description |
|---|---|
| C1ImageDialog() | Initializes a new instance of a C1ImageDialog. |
| Name | Description |
|---|---|
| CanUserInsertFileProperty | Identifies the CanUserInsertFile dependency property. |
| CanUserInsertUrlProperty | Identifies the CanUserInsertUrl dependency property. |
| FilenameProperty | Identifies the Filename dependency property. |
| StreamProperty | Identifies the Stream dependency property. |
| UrlProperty | Identifies the Url dependency property. |
| Name | Description |
|---|---|
| CanUserInsertFile | Gets or sets a value indicating whether the user is allowed to insert an image from data in a local file. |
| CanUserInsertUrl | Gets or sets a value indicating whether the user is allowed to insert linked images via an internet address. |
| Filename | Gets or sets the name of the selected file. |
| Stream | Gets or sets an array of bytes with image data. |
| Url | Gets or sets the content of the url field. |
| Name | Description |
|---|---|
| OnApplyTemplate() | Builds the visual tree for the C1ImageDialog control when a new template is applied. |
| OnPreviewKeyDown(KeyEventArgs) |
| Name | Description |
|---|---|
| FileSelected | Event fired when the file OK button is clicked. |
| UrlSelected | Event fired when the Url OK button is clicked. |