tagged [forms]

My Windows Form keeps on shrinking/resizing on build

My Windows Form keeps on shrinking/resizing on build I am working on a Windows Forms project. It contains a tab controller with multiple pages and multiple controls on each. It appears that relatively...

html button to send email

html button to send email How do I send an email with specified initial values for the headers `subject` and `message` from a button in html, such as this where `subject` and `message` are values fetc...

6 Sep at 12:21

UserControl for cross-platform Xamarin Forms

UserControl for cross-platform Xamarin Forms I have been looking for a long time now but still haven't found a way to create WPF like UserControls for cross-platform Xamarin Forms. Can this even be do...

How to download image and save it in local storage using Xamarin-Forms.?

How to download image and save it in local storage using Xamarin-Forms.? I want to download an image and store it in specific folder in local storage. I am using this to download image:

26 Jun at 09:24

How to check user is "logged in"?

How to check user is "logged in"? I am using form authentication with below method in my ASP.NET application How do I check whether user is logged in or not? And how can I get the user name of a logge...

13 Jan at 21:18

How long Cookies last, which return with JsonServiceClient Request

How long Cookies last, which return with JsonServiceClient Request I am working with Xamarin-Forms application.To authenticate user I use ServiceStack CredentialAuthProvider.When authentication succes...

How to create a label inside an <input> element?

How to create a label inside an element? I would like to insert a descriptive text inside an input element that disappers when the user click on it. I know it is a very common trick, but I do not know...

19 Sep at 22:17

C# 2005: Remove icon from the form's title bar

C# 2005: Remove icon from the form's title bar A client has asked me to remove the icon from the form's title bar. As they don't want to display any icon. But this me guessing as when I click on the i...

30 Apr at 14:18

How do I set the size of the visible area of a form, minus heading and borders?

How do I set the size of the visible area of a form, minus heading and borders? I would like to set my form to be exactly 300*300 excluding heading and borders. If I use Size property, it does include...

Warn user before leaving web page with unsaved changes

Warn user before leaving web page with unsaved changes I have some pages with forms in my application. How can I secure the form in such a way that if someone navigates away or closes the browser tab,...

8 Jan at 20:56

WPF looking for way to create border with text labeling the frame

WPF looking for way to create border with text labeling the frame Something like this [](https://i.stack.imgur.com/uoS5r.gif) was available in windows forms, but i forget what it was called. But I'm j...

28 Jun at 14:36

How to add static text inside an input form

How to add static text inside an input form How can I put this static text in an input form? It's there all the time. ![Enter image description here](https://i.stack.imgur.com/Xxsnr.jpg) This is my co...

9 Jul at 22:52

How to create <input type=“text”/> dynamically

How to create dynamically I want to create an input type text in my web form dynamically. More specifically, I have a textfield where the user enters the number of desired text fields; I want the text...

20 Nov at 15:24

What is the difference between the old ListView and new CollectionView in Xamarin 4?

What is the difference between the old ListView and new CollectionView in Xamarin 4? I don't understand what is different in Xamarin Form by new version 4.0 between old ListView and new CollectionView...

2 Aug at 07:40

Put icon inside input element in a form

Put icon inside input element in a form How do I put an icon inside a form's input element? ![Screenshot of a web form with three inputs which have icons in them](https://i.stack.imgur.com/V0Tjp.png) ...

23 Jun at 07:52

How to play sounds on Xamarin.forms?

How to play sounds on Xamarin.forms? I'm creating an app for Android, iOS and Windows Phone using Xamarin.forms. My question is how to play a mp3 or wav with Xamarin Forms? My business logic is handle...

how to hide bottom bar of android (back, home) in xamarin forms?

how to hide bottom bar of android (back, home) in xamarin forms? How can I hide the bottom android bar (back button, home button) permanently in xamarin forms? I tried some code but its hiding it temp...

How to programmatically log in to a website to screenscape?

How to programmatically log in to a website to screenscape? I need some information from a website that's not mine, in order to get this information I need to login to the website to gather the inform...

11 Aug at 13:37

Hiding forms on startup: why doesn't this.Hide() hide my form?

Hiding forms on startup: why doesn't this.Hide() hide my form? I wanted to hide the main window of my app on startup, so I put this in the constructor: This doesn't hide my form though. It seems like ...

22 Sep at 12:49

Limit number of characters allowed in form input text field

Limit number of characters allowed in form input text field How do I limit or restrict the user to only enter a maximum of five characters in the textbox? Below is the input field as part of my form: ...

10 Jun at 05:20

How to search through all items of a combobox in C#?

How to search through all items of a combobox in C#? I have a combobox, and I would like to search through every element in it. How can I do this? (also the number of items is not the same everytime, ...

Get Android Context in PCL project

Get Android Context in PCL project How do I get the Android context from the Xamarin.Forms PCL project? I have tried to search stackoverflow but none fit my search. I am new to Xamarin.Forms and I am ...

16 Aug at 04:34

How to Send SMS on Xamarin.Forms

How to Send SMS on Xamarin.Forms I am developing project, iOS, Android and Windows Phone. My app ask the user to enter text Message and Phone number then on submit, I need to send SMS to the phone num...

How to change an element's title attribute using jQuery

How to change an element's title attribute using jQuery I have an form input element and want to change its title attribute. This has to be easy as pie, but for some reason I cannot find how to do thi...

12 Aug at 17:46

Get the username in Forms authentication

Get the username in Forms authentication I'm using Forms authentication. In Windows Authentication for get the user name of the PC i use: `User.Identity.Name` I need this information also in Forms aut...