I'm sure that this is a simple newbie question, but the answer is eluding me right now.
I have the following control compiled in Silverlight 3:
<UserControl x:Class="SLImageTest.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http:/...
Consider the following Parent/Child relationship. What I would like to know is how I would go about creating a GUI for this with the following requirements:
All Parents or children will contain an image a label and a couple of buttons
Parents will be collapse able
New Parents/Children can be added at any time
I was thinking about us...
For a fixed size wrappable text area, is there any way to make the font size as large as possible based on the amount of text?
For example, if you have a 500x500 area with the text "Hello", the font size would be really big. But if you have a paragraph of text the font size would be smaller to fit into the area.
I have looked at Viewb...
Good Day,
I am working on a datagrid in silverlight. I have a WCF service that returns a List that works fine when I populate a datagrid. CoreEmployee returns properties of EmployeeId, FirstName, LastName, HourlyRate, HireDate. This is my XAML of the hourly rate:
<data:DataGridTemplateColumn Header="Hourly Rate">
<data:DataGridT...
I'm trying to find out how to anchor all of the content in a RichTextBox control to a particular location, for example: horizontal = center and vertical = center. I can horizontally align paragraphs, but not all of the content in the control itself (which anchors at top/left by default). It appears, from the documentation that <VerticalC...
How can i set the control.Template from code if my template is placed in an ResourceDictionary?
...
The functionality: Users can draw rectangles on a defined area of the screen, by clicking the left mouse button and dragging to create the desired sized rectangle. A similar example would be re-sizing a rectangle in BLEND. I am also open to options where the rectangle already exists, and users can resize using a drag/resize handle.
Id...
I've got a small DataForm and I want to set the focus on the first TextBox. I'm using the Novermber 2009 Toolkit. I've named the TextBox and tried using .Focus() from the DataForm's loaded event. I see it get focus for one cursor 'blink' and then it's gone. I'm trying to work out if this is an artefact of the DataForm or something el...
I have a progress bar shown as I am loading images with the webclient object asynchronously. Once the images have been downloaded I set the loadingComplete bool property to True in my viewmodel to indicate that the loading process has been completed. Currently I am using this value for an attached property to set focus on a control.
Wha...
Hi and happy new year,
I create an object Custom as you can see below
public class GridViewModel
{
private List _listRowCust = new List();
public List ListRowCust
{
get { return _listRowCust; }
set { _listRowCust = value; }
}
}
public class RowCustom
{
private List<CellCustom> _listCellCustom = new Li...
Hi,
Is there is any printing support in Adobe Flash like the new one in Silverlight.net beta 4?
...
Dear StackOverflowers;
How/what is the best way to access a user outlook while out of browser in
Silverlight ?
I'm looking for sample code to start making queries on a user e-mail box
after the user installs a silverlight app.
I know this busts most if not all of the silverlight security sandboxes, but
installing elevates the app trus...
I need to animate a rectangle to move horizontally first, then after 2 second make it move vertically. All this should be done programmatically.
Anybody can help me? Thanks!
...
This is an odd one. I am making a app that is kind of a game, and I wanted to have a shooting starburst effect. I made it one evening and it all worked well, until I noticed that my browser was eating over 300 megs of ram, eating 1 meg every 5 seconds, mainly when the starburst would happen.
Here is an example stripped down to just th...
hi guys,
I been getting a really nasty error when updating a "Service Reference" for a WCF web service when using VisualStudio 2010 Beta 2 so I have switched to using SLsvcUtil.exe to generate the client proxy to use in my Silverlight 3 application.
Problem is that I noted that before, when using "Add Service Reference" from within Vi...
Hi,
I am trying to make a TextBox behavior for an on-screen keyboard, it can update the text in the textbox but I can't get it to focus the textbox and move the caret to the end of the text once it's done updating.
I have tried using TextBox.Focus() and TextBox.Select() in both orders with no luck.
Thanks for your time
...
I have a UserControl that is using the ImplicitStyleManager. Controls on this UserControl (like buttons) are correctly styling with implicit styles. However, buttons in a datatemplate in a databound ListBox control are not picking up the styles. I have tried setting the mode to Auto. Am I missing something?
...
Hi
I create a custom http handler to block download of .wmv files e.g. www.pakdev.net/videos/file.wmv (blocked by httpHandler).
But the problem is that now silverlight cannot also stream these video files as they are blocked too.
What should I do?
...
I'm trying to data bind a TextBlock to the RenderSize of a Rectangle. Here is the code.
<StackPanel x:Name="root">
<Rectangle x:Name="rect" Fill="Green" RenderTransformOrigin="0.5,0.5" Height="100" Width="100" />
<TextBlock Text="{Binding ElementName=rect, Path=Width}"></TextBlock>
<TextBlock Text="{Binding Elem...
I'm trying to deploy my WCF RIA services application to our in-house server for testing. I've been following the instructions and comments from this blog site:
http://timheuer.com/blog/archive/2009/12/10/tips-to-deploy-ria-services-troubleshoot.aspx
At the end someone points to this question:
http://stackoverflow.com/questions/1528324...