In Visual C#, I made a user control, which contains several separate "individual" properties. But I would like to make it into one. In which there is a plus sign in font of my property where users could click on it and expand it and access its members. Just like the property Location, Size, or Font.
I tried packaging all those properties into one class and use the class as the property type, but then I have no idea how to get or set the values! And the property just return the whole class as the value! There is NO plus sign for anybody to click!
PLEASE help me out! Thank you very VERY much! God bless you!!!
To create a Property like this you must create a Class-Object which holds the necessary Sub-Properties.
This Object should also use as TypeConverter the ExpandableObjectConverter.
Now you can use this Class-Object as Type for your Property.
Hi I need to refactor this code..thanks in advance for any help!!
public MyListViewModel GetData(List<UpdatingViewModel> updatingList, MyListViewModel myList)
foreach(UpdatingViewModel x in updatingList)
x.Gain = myList.UpdatingView.Gain;
x.Amount = myList.UpdatingView.Amount;
x.Minimum = myList.UpdatingView.Minimum;
x.Charge = myList.UpdatingView.Charge;
x.abc = myList.UpdatingView.abc;
Open the Design view on any form.
Open the Toolbox pane.
Close branches so you get "clear space".
Use Windows explorer to browse to the DLL or EXE file containing your controls.
Drag the Assembly file to the ToolBox and drop it there.
You can also create a new Tab first, and drop them on that if you want it a bit tidier.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
Now, I am building an application like Russian dictionary. How to program the Russian pronunciation in C #, which library to use? Does the Speech or Speech.lib libraries contain "text to speech" functions for Russian as well asfor English? Please Help me solve text russian to speech in C # using library or not?
I'm currently developing an application in which I have to drag a video from in a media element into another container (let's say a kind of library). The video must keep playing in the media element and only a copy is "stored" in that library.
All the videos present in the library must be visible in order to eventually be reloaded (through drag and drop) into the media player for vizualization.
Have someone an idea on how this could be achieved?