I need panel like on the photo.Where i can find it?Or should I write the code myself?If so, please help.I don't understand how this can be done.
Related
Well, I'm a newbie. I'd like to write an app in WPF. The main purpouse will be in drawing predefined elements/objects. Input from user is mostly realized by text boxes - numbers. But I'd like to add some kind of user input into drawing itself too + zooming and moving. Next functionality will be in saving the draw for later loading and another editing (printing maybe, but it's far far away).
I can imagine something like this:
due to some user interaction I'd prefere to use of InkCanvas
i want to define my own elements/objects with some properties. But where it will be define? Some external file maybe?
the save file will be composed of XAML code only
I will study this more lately, but I want to know if my thoughts are in the right way.
Are these points correct, or completely bullshit? :)
Thanks, and sorry for English...
I don't know if this is exactly what are you looking for, but here a little list of advice to help you on reaching your goal:
First of all, if you are crating an application, you should see this before. It explain the Model-View-ViewModel pattern, which is essential when you are creating something on WPF. This can help you abount your 2nd point.
Regarding your save file, i don't know exactly what you have in mind, but it depends on what do you want to save exactly. If you want, InkCanvas have the option to export directly the work in a bitmap . If you need to store some setting, depending on your need you can work with Settings or Resources
InkCanvas seems the appropriate tool for your need. Of course you will have to build your app around this control
this is my first question on Stack Overflow,so I hope you can be friendly if I will make some mistakes.
I'm trying to learn a little bit of Gtk2.0 mechanisms. I'm a newbie with this library so I'm trying to construct a basic GUI.
I created a 230x150 window, attached a GdkPixbuf icon and learned how to trigger signals, in particular I'm interested on showing/hiding the icon on pressing of an arrow key.
I have achieved the objective of showing the icon but I'm not finding the way to hide this one. I looked at the documentation, but anything seems to be working.
I attach the code below so you can help me better. Thanks in advance for hints.
http://pastebin.com/iUJRc6hw
You should be able to hide the icon with gtk_widget_hide(app->icon).
I have asked a question about CustomTaskPanes. It seems that we can implement lots of things inside a pane.
I think it is totally feasible to have a pane to display a program (in VBA or in other languages) or a text, my question is if it is possible to implement a point that allow users to highlight a line of text. It looks like a "breakpoint", but does not necessarily work exactly like a breakpoint for debugging. The implementation of this kind of point does not seem straightforward to me. Does anyone know if there is any technique inside CustomTaskPanes to do so?
PS: I made an image to illustrate the point, let's assume the pane is inside the excel editor and is a CustomTaskPane.
Does anyone know of a spinner control like the one we often see in android/iphone apps. something like this:
It doesn't have to be free.
Take a look at SpinDotters at http://spindotters.codeplex.com/
There's source and a demo for WPF, SL, and Phone7.
You'd need to customize it a bit to get exactly what you want, but it could be a good starting point. e.g. you could combine several of the NumericUpDown controls...which "spin".
I am new to Silverlight and have a requirement to highlight (or change font color) all words and phrases wtihin a TextBox that match a list of words/phrases. At first I though this would be easy, but the more I look into it, the more confused I get.
My goal is to write something reusable so I can also apply the logic to a RadGridView later. I've seen a few examples of stuff close to what I need, but it's beyond my Silverlight level at this point.
I want to write this myself to get a better understanding of how some of the Silverlight internals work. Can someone point me in the right direction of where to start on something like this? Should this be implemented in a control? Should I use a behavior? I'm using Silverlight 4.
Once I know where to start, I am sure I can get this done - with some help from you guys of course ;-)
Thanks,
-Scott
How about using the RadRichTextBox (I assume you have a licence for it as you mentionned the RadGridView)?
There's also a good sample project on Telerik forum that is doing exactly what you want to do.