I have a datagrid in which i have textblocks as one column.Then in the next column i have progress bar over which there is a textblock.On loading row of datagrid,i add these three into lists of textblock and progressbar.I start the first progress bar and after 15-20 minutes next progress bar is started.The next progress bar is getting s...
Hello,
I have a datagrid with some TextColumn and one DataGridCheckBoxColumn. I bind it with à itemsource that contaned à boolean and i can see that my checkboxes or checked or not by the boolean everything is OK at this point.
but the checkboxs cells are in ReadOnly even if i assigne IsReadOnly = False. I cant find the right and clean...
have a Datagrid and in that datagrid i have a progress bar,over that progress bar there is a text block.I start the progress.While running,if i double click on the progressbar.Both progress bar as well as textblock is resetted to the default state
...
I have this:
<Canvas x:Name="LayoutRoot" KeyDown="LayoutRoot_KeyDown">
</Canvas>
In a newly-minted Ag 3 application in VS2008. I simply changed the default <Grid /> to <Canvas /> and added a KeyDown handler that pops a MessageBox.
But no matter how I tried, the KeyDown event just would never, ever fires.
Is it simply that <Canvas />...
I'm using the Expander control from the Silverlight toolkit, and I would like the header to have a specific background colour across the whole width. What I'm really aiming for is to mimic our old ASP.NET-based CollapsiblePanelExtender, from the AJAX control toolkit.
It should be mentioned that I want the expand/collapse icon to appear ...
I have a silverlight 3 application. When an unexpected exception occurs the error childWindow pops up. I Want to know what code should i write behind the "OK" button so that the application restarts over when the user clicks it.
thanks.
...
I have noticed that Silverlight uses alpha-blending channel for colors for example #FF000000, being the FF the alpha channel of the color.
The problem I am currently facing is that I'm doing some neat UI changes to an app and the colors from Photoshop to silverlight don't look the same. I know im using the correct colors but every color...
ouch, i've been doing asp.net for a few years now, and for a year asp.net mvc, and now: silverlight.
Feel like a newbee again.
I want to fill a listbox with dataitems, fair enough?
I want to show an imagename and an image.
This is what i've seen so far:
create a datasource with dummy data, and bind the collection to the listbox (design...
Hi I have the following code:
<ListBox x:Name="foldersListBox" Grid.Column="0" MouseLeftButtonUp="foldersListBox_MouseLeftButtonUp"
BorderThickness="0" Height="AUTO"
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
ScrollViewer.VerticalScrol...
Hi,
i'm just starting with the mvvm model in Silverlight.
In step 1 i got a listbox bound to my viewmodel, but now i want to propagate a click in a button and a selecteditemchanged of the listbox back to the viewmodel.
I guess i have to bind the click event of the button and the selecteditemchanged of the listbox to 2 methods in my view...
Hi I am new in silverlight 3.
I want to find the location of any treeview Item .
Although I applied this code
GeneralTransform gt = ProjectTree.TransformToVisual(Application.Current.RootVisual as UIElement);
Point offset = gt.Transform(new Point(0, 0));
double controlTop = offset.Y;
double controlLeft = offset.X;
Here Project tree is...
I'm doing a project. I'm not going to details but I will simplify my idea. I'm using Morse Code ( dot and dash) and I have 2 methods: convert_MorseToChar() and Convert_MorseTonum(). In the convert_MorseToChar() method there is a switch to compare the input from a user which will be Morse codes and mapping it to characters:
private ...
How can I create dataTemplate in code (using C#) and then add control to that DataTemplate ?
<data:DataGrid.RowDetailsTemplate>
<DataTemplate>
<Border>
<Border Margin="10" Padding="10" BorderBrush="SteelBlue"
BorderThickness="3" CornerRadius="5">
<TextBlock Text="{Binding Descrip...
Hi I have the following code , which assign a list of custom radio buttons to my List Box.
List<RadioButton> listUserControlBtns = new List<RadioButton>();
CustomLocalFolderButton btnLocalFolder = new CustomLocalFolderButton ();
CustomLocalFolderButton btnPlayListFolder = new CustomLocalFolderButton ();
CustomVideoButton btnVideoFolder...
How to import data from excel sheet into data grid in a silverlight3 application
Is it possible to do this ?
Thanks
...
I am using nested silverlight datagrid. I am using RowdetailsTemplate to show 2nd level of datagrid. Once all the data in 2nd level of datagrid is shown, I want to add a stackpanel at bottom each row in second grid. This stackpanel will have some controls in it. Is there anyway I can acheive this?
<datagrid1>
<row1>
<datagrid2>
...
I have a ChildWindow. In this childwindow, I have added properties that link to a textblock, and a contentpresenter. I want to use this childwindow as the base class, and have other child windows inherit from it. When they inherit from it, I want their content area (i.e. the area inside the "layoutroot" grid to be placed in the parent...
What directory does Silverlight store XAPs when you toggle out of browser execution?
...
How can I play a wav file in Silverlight 3?
...
I have a login form (using ChildWindow) and have implemented a Keyup event handler on the passwordbox. If the key is enter then it sets the ChildWindow ResultDialog to true. What seems to be happening is the databinding on the Passwordbox is not happening before the childwindow is closed so the Password property on my Login control is nu...