Questions tagged [silverlightcontrols]

12 questions
2
votes
2 answers

Silverlight to WPF Converter

Since WPF and Silverlight are very close to each other(in terms of syntax). My query is , do we have any tool that can convert wpf control to silverlight control and vice versa. I understand that everything in WPF shall not be expected to run on…
Pradeep
  • 484
  • 5
  • 13
2
votes
1 answer

Getting position of UserControl

I'm having trouble getting a UserControl's position on a canvas in Silverlight. Usually, I'd use this code to get the position of an object and it works fine: GeneralTransform gt = this.TransformToVisual(Application.Current.RootVisual as…
XSL
  • 2,965
  • 7
  • 38
  • 61
1
vote
1 answer

How to dynamically change the Visual Behavior of a control in XAML

How to change the visual behavior dynamically through VisualStateManager without changing visual structure (Appearance) of an existing control. I have a scenario where i have a DataTemplate defined in ItemsControl to generate list of CheckBoxes and…
1
vote
1 answer

What could be preventing styles from applying to a Silverlight control at runtime?

I wrote a simple Silverlight application. My styles are shown correctly at design time, but when I try to run the application, any styles in resource dictionary file which are merged in app.xaml file are not applied to any control at…
Saber Amani
  • 6,409
  • 12
  • 53
  • 88
1
vote
1 answer

Silverlight DataGrid no DataGridComboBoxColumn

In Silverlight there is no DataGridComboBoxColumn in the DataGrid. This is sad. What is the best way to recreate this functionality.
AJM
  • 32,054
  • 48
  • 155
  • 243
1
vote
2 answers

What is the best practice for creating RE-USABLE control templates in Silverlight

What is the best practice for creating re-usable control templates. For example. I want to start with the standard checkbox and modify its template for re-use accross multiple future projects. I understand how to modify the template in Blend, but…
Jeff Weber
  • 949
  • 1
  • 8
  • 18
1
vote
1 answer

Silverlight / WPF Custom Control Template Help

I'm hoping to create a control that I call an "AutoCompleteListBox". If you've ever used hotmail to send an e-mail the way the to: address line works is what I wish to create. You have what looks like an input box and as you type you get a dropdown…
user224482
  • 11
  • 2
0
votes
1 answer

Silverlight - Width of RadPanelBar in StackPanel

I have two controls in a StackPanel; one is a RadChart and the other one is RadPanelBar. It shows 100% width for RadChart but it is not showing 100% width for the RadPanelBar. I am using the following code. Can someone tell what could be the issue,…
Sukhminder Singh
  • 157
  • 1
  • 2
  • 13
0
votes
1 answer

Silverlight 4: Draw Vertical / Horizontal Rulers to Scale

I am looking for options on how to draw 2 rulers at different scales on a canvas (assume a canvas) that will scale based on user-entered data. Placing the tick marks and text one-time isn't a big deal, it is how to scale the data as the max/min…
0
votes
1 answer

How to capture current location (on canvas) of an MDIWindow, after it has been moved?

I have a Silverlight 4 app that has a canvas with five MDIWindows on it. The Canvas.Left and Canvas.Top properties are set in XAML. These five MDIWindows can be moved around with the mouse. I am trying to use IsolatedStorageSettings to save their…
Joe Ballard
  • 236
  • 5
  • 10
0
votes
4 answers

How to implement this control in .net

i am very new to .net, i just wanted to know how to make an UI of this sort? which controls do i need to use to make the UI of above sort. if not can i know in WPF is it possible if so how?.. Thanks
Naruto
  • 9,476
  • 37
  • 118
  • 201