Watermark effect on TextBox in Windows Phone [duplicate] - c#-4.0

This question already has answers here:
Why there is no PlaceHolder like property in XAML TextBox
(4 answers)
Closed 8 years ago.
How do I create text box with watermark effect in windows phone?
I have two text boxes
Username
Password
Now I want that in first text box, Username by default written in light weight and If I write in that text box, it should be disappear. How to solve it?

You need to use PhoneTextBox from windows phone toolkit for this.
You can download it from here.
You can also directly add it to your project by typing the following into your package manager console :
PM> Install-Package WPtoolkit
Now, add a reference of toolkit inside "phone:PhoneApplicationPage" tag in the xaml page as follows:
xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
Finally, use PhoneTextBox control.
<toolkit:PhoneTextBox Hint="Username"/>

Related

How do I list/search all files of a specific type in Visual Studio Code [duplicate]

This question already has answers here:
How to filter files shown in Visual Studio Code?
(5 answers)
Closed 7 months ago.
I want to see a filtered list of all the files in my project that have a specific extension.
As Im using a Scala language the files have the extension ".scala", so i would like to see a filtered list of all the files with a ".scala" extension.
The following post shows some techniques but nothing showing how to achieve what I require.
How do I search for files in Visual Studio Code?
Based on #Mark response I enhanced my knowledge a bit further.
Here is the link to the Visual Studio Code website that explains it in more detail
https://code.visualstudio.com/docs/getstarted/userinterface#_filtering-the-document-tree
Summary
Click on the "Explorer" icon in Visual Studio Code.
Click on the "Explorer" panel background and type what you want to filter.
In my case i typed ".scala" and all other that did not have the scala extension were removed from view.
To remove the filter, simply click the cross next to the red text that represents what you typed as a filter.
The cross appears when you hover your mouse over the text.
As VonC mentioned in the comment, see also his answer at How to filter files shown in Visual Studio Code? in vscode v1.70 you should be able to filter the Explorer to show only files with a particular extension by typing .json for example into the new Find Widget for lists (the Explorer files is a list).
Demo:
Note that there is a json.txt file that is not shown if you begin the filter with the ..

It is possible to add text below checklist using dialog linux command?

I have created a checklist using linux dialog command and I want to add some text below it. Is this possible or you can add text only above the checklist?

xml layout design with coloured background

I have to enter the details in the username field with autocomplete text view,after getting the correct username the keypad should be closed automatically ,i wrote the code until getting the username with keypad & i am facing trouble to write the code for the keypad to be closed automatically ,please help me with this
Your question is very poorly written, and the title is unrelated.
Here's another stackoverflow answer that goes over how to manually dismiss the android soft-input keyboard.
Close/hide the Android Soft Keyboard

changing console color sublime text 3 (modifying Widget) [duplicate]

This question already has an answer here:
Sublime Text 3 System Package Location?
(1 answer)
Closed 6 years ago.
Where can I find these folders on Mac (Sublime Text 3)? I succesfully found them on my PC (Sublime Text 2) and modified the theme to where now console and editor are the same background, but I cannot find the Packages\Theme - Default\Widget.sublime-settings path on my Mac. I did notice that the build window was a different color from the main editor on my PC until I updated the config's below, however on my mac and ST3 the build menu automatically is the same (console is still not though, whereas it is on the PC post-changes).
{
// "color_scheme": "Packages/Theme - Default/Widgets.stTheme",
"color_scheme": "Packages/Color Scheme - Default/Blackboard.tmTheme"
}
Thanks for the help, FYI this is the thread I referenced: How to change the color of the console in sublime text?
In Sublime Text 3, a Widget.sublime-settings file is located in Packages/Default and Packages/Theme - Default. Install PackageResourceViewer from Package Control, then access its Open Resource function through the Command Palette to open whichever file(s) you're interested in editing. You can simply save the file(s) when you're done.

VS2012 Text Editor colors with Windows Domain User [duplicate]

This question already has answers here:
How can I get user type C# syntax highlighting working again in VS 2012 RC?
(19 answers)
Closed 8 years ago.
I'm having problem with the text editor. I see all text colors right but 'Classes words' in black instead of light-blue.
I've tried resetting all settings, changing between dark and light theme, importing correct working settings, with no success. I've also tried repairing VS installation.
I'm logged in with an Administrator Domain User. When I log in with a local user, I have no problem with the colors.
I'm using VS2012 RTM and Windows8RTM. Thanks.
Multiple suggestions can be found in this discussion.

Resources