Home Notices Documents Classes Download Others Rice
Classes  >  clipboard  >  ContainsText
clipboard class : ContainsText getter

Description

Gets a value that indicates whether there is a text data on the clipboard.

Syntax

clipboadInstance.ContainsText

Arguments

None

Return value

ClassDescription
boolA value that indicates whether there is a text data on the clipboard.

Sample code

1:

clipboard c = new clipboard();

2:

bool contain = c.ContainsText;

Notes

It's a wrapper of the System.Windows.Clipboard.ContainsText() method.

When there is a text data, returns true. Otherwise, returns false.

Links for reference

Copyright © Rice All rights reserved.