2
votes
1answer
40 views

Masking text code. Any shorter way?

I feel like I'm reinventing wheel here. All I want it to take string and insert dashes to format social security number for display: if (maskedText.Length <= 3) { text = maskedText; } else { ...
0
votes
1answer
23 views

Set CornerRadius on button template

I want to have a Button that defines no CornerRadius and two others that do, how can I achieve this? <Style TargetType="Button" x:Key="TabButton"> <Setter Property="Background" ...
-1
votes
0answers
19 views

Can I create a proper drop down menu list in windows phone, nothing like Picker Box, ListPicker, AutoCompleteBox achieving my objective properly?

I want to create a drop down menu in my windows phone silverlight application, from which user can select a mobile service provider amongst many of them, i.e user can select a Big Tv amonst Airtel ...
0
votes
2answers
56 views

C# How to check if event handler is finished

Is there an elegant way of checking to see if an event had finished or not? My only options appears to create another event handler that gets called when my first event is finished.
0
votes
0answers
7 views

Translate a rectangle in a canvas using Gestureservice

I'm having a little problem translating a rectangle in a canvas. What I want to do is to move the rectangle according to the user's finger position. Well here is my XAML: <Canvas ...
0
votes
0answers
16 views

Animating the height of a Grid inside an ItemsControl

I'm trying to animate the Height property of a Grid which exist inside of an ItemsControl, I tried to do it in the XAML page, but I didn't know where to put my StoryBoard, so I tried to do it ...
1
vote
2answers
48 views

Image not loading in Windows Phone

I have created a test project just for the case. I have one Image control in my .xaml like that: <Image x:Name="img" /> I have tested the project with 6 pics, and all of them from the same ...
0
votes
1answer
38 views

Too much xaml makes my wp7 page load slowly

I'm having a huge load time for the MainPage of my app, and I am pinning it down to pretty much the amount of Xaml and c# code that has to be read for this page alone. I literally have about 25000 ...
0
votes
0answers
12 views

Reading XML file from server as synchronusly in silverlight

I have an xml file in server that hosted silverlight application. But xml file not in clientBin directory, it is in a Config directory in the root. I wanna read the Xml file Synchronusly not ...
0
votes
1answer
21 views

Can not get the list object from NotifyCollectionChangedeventargs in Silverlight

I have use the following code snippet in our working scenorio List<Data> list =new List<Data>(); list.Add(new Data(){No = 1,Name = "Raja"}); list.Add(new Data() { No = 2, ...
0
votes
0answers
38 views

Tap vs Click WindowsPhone

I know that there is a difference between tap and click ( about 0.3 s delay ). The problem: I have a list box of News: And a Sliding panel: I have installed WindowsPhoneToolkit that supports ...
0
votes
0answers
17 views

Adding custom Inline elements to a Paragraph in a RichTextBox

In my application I have a RichTextBox which I want to fill with custom Inline elements. The implementation of my Character class is similar to Run, but using a character instead of a string as its ...
2
votes
2answers
19 views

UrlPathEncode in Silverlight?

I'm trying to encode Unicode characters in a URL in my Silverlight project. I want to use HttpUtility.UrlPathEncode (Source) However, this version of the HttpUtility class resides in System.Web which ...
0
votes
1answer
12 views

How to prevent rollback of entire ChangeSet when PersistChangeSet fails in Silverlight/RIA

In my scenario, I typically put all my database persistence logic in a PersistChangeSet override, since it makes it easier for me to synchronize my save stored procedure wrapper calls involving ...
1
vote
1answer
17 views

PresentationFramework in Silverlight 5

I need some help figuring out an issue I'm having implementing a MultiBooleanConverter in Silverlight 5. I have the implementation, but getting the right references is causing me some trouble. Here's ...

1 2 3 4 5 471
15 30 50 per page