CatchVisualToolExceptions Property (WpfImageViewer)
Gets or sets a value indicating whether the visual tool catches the exception which is thrown during work of visual tool.
[DefaultValue(False)]
[Description("A value indicating whether the visual tool catches the exception which is thrown during work of visual tool.")]
public bool CatchVisualToolExceptions { get; set; }
[DefaultValue(False)]
[Description("A value indicating whether the visual tool catches the exception which is thrown during work of visual tool.")]
public: __property bool get_CatchVisualToolExceptions();
public: __property void set_CatchVisualToolExceptions(
bool
);
[DefaultValue(False)]
[Description("A value indicating whether the visual tool catches the exception which is thrown during work of visual tool.")]
public:
property bool CatchVisualToolExceptions {
bool get();
void set(bool );
}
Property Value
true - visual tool catches the exception and generates the
VisualToolException event.
false - visual tool catches the exception, generates the
VisualToolException event, throws outwards the exception.
Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5