PDFReaderControls.NET Professional Type Reference

WidgetCollection.Contains Method 

Determine whether an Widget is in the WidgetCollection.

public bool Contains(
   Widget widget
);

Parameters

widget
The Widget to verify.

Return Value

True if the Widget is found in this WidgetCollection, false otherwise.

Remarks

The widget does not accept a a null reference as a valid value.

Exceptions

Exception Type Condition
ArgumentNullException The given widget is a null reference.

See Also

WidgetCollection Class | TallComponents.PDF.Annotations.Widgets Namespace