Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Watermark bindings [moved] #8

Open
jonnybbb opened this issue Nov 18, 2012 · 0 comments
Open

Improve Watermark bindings [moved] #8

jonnybbb opened this issue Nov 18, 2012 · 0 comments

Comments

@jonnybbb
Copy link
Contributor

This is Issue 8 moved from a Google Code project.
Added by 2009-11-21T00:05:39.000Z by andrew.pietsch.
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Enhancement, Priority-Low

Original description

Improve watermark bindings to support a wider range of components.

Should automatically support:
  * HasText & HasAllFocusHandlers
  * TextBoxBase
  * HasWatermark


Would be nice to support HasValue<String> but can't check this at runtime
without trying the match explicit sub types.  Might be better to support
via HasWatermark interface.  

May need to separate between HasWatermark components that manage when and
how the watermark is displayed and those that don't.  Could possibly use
HasWatermarkText and HasWatermark although this still feels a bit wrong. 
In reality most people would like the binding to do all the work so would
like a HasWatermark style hook that is trivial to implement.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant