Link to home
Start Free TrialLog in
Avatar of eelou
eelou

asked on

How to create custom picker control in c# Windows 8.1

I want to create a picker (for Desktop and phone if possible), that has 6 selections (rather then three like the DatePicker). Can this be done? I am fairly new to C#. Does it have to be made from scratch, or can something be copied and modified? I see examples of modifying existing pickers, but not adding to, or creating a new\larger version. Can the User Control template be used to do this?  Is there is an example of creating a whole new picker control that is not a variation of the date\time\color selection controls.   I am thinking that because I can find nothing other than a date\time\color picker, that this cannot be done.  Should I be considering scrolling combo box's?
Avatar of Dmitry G
Dmitry G
Flag of New Zealand image

I'd say you need a what is called "composite" custom control.  
And in your case, I believe, you need to write it from a scratch.
Try to follow steps in MSDN guidelines:

https://msdn.microsoft.com/en-us/library/vstudio/6hws6h2t(v=vs.100).aspx

https://msdn.microsoft.com/en-us/library/vstudio/5t70dw29(v=vs.100).aspx
Avatar of eelou
eelou

ASKER

That's a bit much for a newbie.  Looks like I will put combobox's next to each other.
ASKER CERTIFIED SOLUTION
Avatar of Dmitry G
Dmitry G
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of eelou

ASKER

This might be the way to go, and eventually I might try it.  For now, I am closing this question, as no one else has come up with anything else.