It's probably doable, but with my n00b skills I couldn't figure this out yet.
When I try to "Make Into Part" on the RadMaskedTextBox, Expression Blend complains that it's not a TextBox.
How can I make it to use it as a proper control part? Can I "typecast" somehow in XAML?
Thanks in advance for all help!
...
I have been researching RIA services with silverlight 4 and considering using it. Switching to silverlight from ASP gives me some concerns about the maturity of silverlight for data driven apps.
I was looking at relational data queries. Lets say I have a 'person' table and a 'cars' table. Multiple cars can be associated with a person. N...
What is the best way to manage links in a Silverlight application? In my app, I have various custom controls that will open a new website in a new window.
I know in the hosting aspx page you can pass in parameters but I don't know how and where to store these links internally? Should I add a collection to the App object? Is there anoth...
Hello.
I am creating a SL App that has a TabControl with dynamically created TabItems which are added via code behind. I'd like said TabItems to size proportionally to the TabControls full width, much like what is described here.
Now Silverlight does not have IMultiValueConverter, and not knowing how many tab I will have, I am a bit st...
The only forums I know of are:
- WPF Disciples; this is a great group because the um, disciples are experts but seems like 1/2 the posts are 'inside' comments between the um, disciples. By design, it is for mere mortals to observe only.
- WPF on Codeplex; useful but usually only by way of catching a new release of something. Discussi...
Hi
My main question is about binding case in the scene that we have multiple sources for a control(a combobox inside a datagrid)(or having both datacontext and itemssource). Then how can we know which source the binding will use? (any syntax to clarify that)
Assuming a datagrid has an itemssource="List of Players" datacontext="Manager"
...
How do I get the Pivot Server Application to run on IIS 6? The handlers for the cxml don't seem to be registering properly, because I get a 404 for requests to .cxml files.
The closest solution I can see so far is on http://forums.silverlight.net/forums/p/192470/454278.aspx , but this doesn't seem to be the right way to do it. I see th...
I simple form which have some fields. So i decided to add few DataField with textboxes and labels. Labels manageable and their length can be changed and i need to place my textboxes on the same distance from left side. How can i do this thing?
...
Hi,
I am currently facing a scenario that I am unsure what is the best way to handle.
Scenario:
ControlA has 2 two custom visualstates, let’s call them “StateOn” and “StateOff”.
I now apply a template on ControlA, let’s call it “templateA”.
“templateA” has one control under it of type ControlB (who’s unaware of StateOn/Off).
Control...
I have a ListBox bound to a collection of custom objects. I have an ItemTemplate set up for displaying those items. Each item takes up a large rectangular area, so what I want to do is actually only display one item at a time. After ten seconds, I want to animate (maybe slide in/out or fade in/out) to the next item so that only that o...
Hello,
I start learning Silverlight and would like to create some simple game.
I am using CompositionTarget.Rendering event for my animation
But animation is not smooth, I developed games before and I used double buffer to avoid such problems, but I can't find if it possible with Silverlight.
Does anybody know how to create smooth a...
Simple case:
<usercontrol>
<Views:UserListView x:Name="settingsTreeView"/>
<Button DataContext="{Binding ElementName=settingsTreeView, Path=SelectedItem}"
Command="{Binding CreateChildCommand}"/>
</usercontrol>
The task just is to bind to button a DataContext which implements CreateChildCommand.
DataContext is the sel...
This is my scenario.
I have 2 Properties. Type and State.
Type is an Enum with 3 values eg, ball, car, arrow. State is an int which would accept 3 state values eg., -1, 0, 1. Also, I have 9 images for each state values.
Like, if I select type as ball and value as -1, I want to display a Red color ball.
If I select type as arrow and va...
Hi,
I have a webservice that supplies data (Publisher Object) to a silverlight project.
I want to bind the Publisher to a dataform and have the dataform handle to validation.
I would like to achive this by using DataAnnotations.
My question is..
Can I or how do you amend the Publisher object (Generated by the webservice) to add the D...
In our SL4 application built on Caliburn.Micro, we've come across a (another) memory leak.
Stripped out, it seems that the problem is caused by ItemsControl with custom DataTemplate bound to an IEnumerable collection of objects that implement INotifyPropertyChanged interface.
When the source collection is changed (another collection is...
HY,
Know someone how can i add a assembly to GAC and Add reference dialog automatically in same time.
I have a setup project which i set him to add the assembly automatically to GAC, but i can`t add that in add reference dialog from visual studio 2010. I search on the internet but i didn't found how to do it.
The idea is that i have a ...
I want to have a command from my view model associated with F8, and don't know a great deal about input gestures. Must I wrap it in a routed command or is there another recommended way to do this?
Cheers,
Berryl
UPDATE
My original posting really had two pain points in them. The first was that prior to WPF 4 you couldn't bind a comman...
I'm looking at Fonts for Windows Phone and noticed that the font list includes both fonts and 2 of its 3 available styles of its styles (Bold and Italic, but not Bold Italic). For example:
Arial
Arial Bold
Arial Italic
(missing: Arial BoldItalic)
Does this mean that the style Bold Italic is explicitly not available in ROM on WP7 (f...
Hi everyone! I have the following problem to solve: I have some ellipses in my xaml that work as buttons, and some of them may open in 2 new buttons when clicked. I put them in separate canvas, in a way that this buttons to be generated already exist with opacity 0. What I want is to have an effect to set this buttons opacity to 1 when I...
Is the data sent back and forth using LocalMessageSender secure? Do I need to encrypt it?
...