Well, threading isn't going to do anything. Creating an instance of the control cannot be done on a separate thread. It has to done on the UI (startup) thread since the form you're going to stick the control to is on the UI thread.
Really, you HAVE to do root cause analysis here. Is it the creation of the control that is slow or is it retrieving data that the control is going to use that is slow?
If it's the creation of the control there's nothing you can do about it.
Not sure what you are doing with your control, but if it was like a Status bar or similar, Id either use RowDefinitions or a DockPanel to set it at the bottom. But without any code, or an exact explanation of what you want to achieve its hard to give you any better advice.
On Runtime if you would like to change the height of the control, then all you would need to do is change the height of the Grid. By doing this you keep your control inside the bounds of the grid, yet if the grid height changes, so will the control since the property is set to stretch.
I need a quick advice on following. Please help me out..
I am using following searchtextbox in my WPF application usercontrol and successfully able to reference it. I can see the searchtextbox on my usercontrol but i don't know how to use its functions, i mean how to bind this with list of data ? Following url only explained about customized textbox but not on how to consume and use it? Please help me on this . thanks
I take it that you are referring to this blog post[^]. The chances of someone here, just knowing how that works, is very slim. What you are asking is for someone to download the control, integrate it into an application and then figure out how it works. That seems like you're expecting us to do an awful lot of your research for you. That's not going to happen.
I am trying to determine if I can do a particular project in Windows phone/store or not.
I need to take a given video file, extract the audio in wave format, do some processing and put it back in the video.
Do you think this is an easy/feasible task to do? In this case, would you give me some key words (name of the library, Programming language) or anything else that I can use to narrow down my search?
I'm not trying to be funny. You asked how easy it was, and I gave you an answer based on what we know about your skills, which is nothing. You asked for some keywords and I gave you some; have you tried using them?
This is definitely not a trivial task, and certainly not something I'd look to jump into as there really aren't any built in libraries. Part of the problem is that there are so many codecs and formats for videos that you have a lot of work there. What you could do is search for PCL extract audio from video in Google. A quick scan shows at least one library for dealing with FLV files - I haven't had a real chance to look into what platforms it targets, but it should serve as a good starting point.
I'm tasked with implementing mapping in an app I'm working on. Currently we have a WinForms app that does mapping but it's a beast and is spread across 8 projects. I'm hoping someone here has experience with mapping.
Must be usable in WPF
Must handle offline maps. Out map files are in NITF format.
Can someone point me in the right direction? Get me started please?
I'm looking at Gmap.Net[^] but I don't know what it does or how it works yet.
Kevin - what mapping component do you currently use in your WinForms app? Looking at the GMap.NET comments gives me an uneasy feeling about the authors approach to working with mapping providers. Looking at the comments from the Google and Bing map teams, and how the author is ignoring their functionality take-down requests would make me uneasy about relying on the component, especially as you could end up running afoul of the providers constraints - leaving you facing potentially very damaging reputational issues.
i'm very impressed by some web site performing scroll based animation using jquery or other framework like scrollmagic but no such thing for a simple presentation in c#/WPF ?
how can i achieve some simple example in wpf ? is there some sample around achieving scroll based animation ?
If you're talking about the demo of ScrollMagic moving an element from one area of the screen to another, a simple path animation should do the trick (note that you can position elements outside the visible area of the window so the animation could appear to make the element appear as if by magic).
doing animation is fine but how can i trigger a animation attached to a control inside a scrollviewer based on a define start position for example
lest assume a rectangle with a scale animation inside a scrollviewer
i want be able to triggering that scale animation when scrollviewer.offset reach a certain value
like many jquery scroll based animation do
I have simple List<string>.
I need to define Table that each column of this table is one of this list elements.
So i will use ListView - I need to define a ListView that each column of this ListView is one of my List<string> => that mean that the
first column name is List<string>
second column name is List<string>
I can't fine any way to do it.
I google it and all the examples are shown how to create dynamic rows
Any help please ...
I am currently working on a cbt software and i want the questions to be coming randomly ( one per page) which is working. Please how can i program Previous and Next button with WPF of VB.NET so user can skip and later go back before the exam finishes. Please help me. Have been on it for like 3 weeks now. thank you