Image Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets an object that represents the image which causes the event. It is of the type Image.
Syntax
public Image Image { get; }Public ReadOnly Property Image As ImageExamples
The following example uses ImageEventArgs.Image while handling ImageClicked.
textControl.ImageClicked += (_, e) =>
{
if (e.Image != null)
{
e.Image.DescriptiveText = "Quarterly sales by region";
}
};AddHandler textControl.ImageClicked,
Sub(sender, e)
If e.Image IsNot Nothing Then
e.Image.DescriptiveText = "Quarterly sales by region"
End If
End SubLimitations
Read only.