I know I can do it myself but I figure someone must have implemented such a custom button control already.
So is there an existing button control with dependency properties for defining an image per state? (Normal/Pressed/Hover/Disabled)
(I've got couple of buttons that every button has its own set of images for the different states.)...
I am building an app that is entirely Silverlight. It is hosted on Windows Azure. How can I do file upload?
There are a number of SL file uploaders, such as this one, which don't work for me because they are stand-alone SL controls - they can't be embedded in my app.
I see a few SL file upload examples that seem straightforward enough,...
Hi,
I understand I can use a TreeViewDragDropTarget to wrap the TreeView and the ListBoxDragDropTarget to wrap the ListBox and then I can drap and drop items from one to the other.
But I am not sure how I can drag an item from the TreeView to the ListBox and don't actually remove the item from the TreeView, as I might need to drag the ...
I have a small out-of-browser app, and want to save and restore its window width+height+state between sessions using IsolatedStorageSettings.ApplicationSettings.
I'm trying to save settings like this (on Application_Exit):
IsolatedStorageSettings appSettings = IsolatedStorageSettings.ApplicationSettings;
Window mainWindow = Application...
Hi There,
I am new to Silverlight/Prism, so not sure how a new layout page would be rendered. I've got the Shell working like a master page, but I want to have several pages in the application with a different layout master. So, how do I get another (shell) or layout page to arrange different regions?
Thanks for any conceptual feedback...
So I'm working on a small project using the bing maps silverlight sdk. I'm getting a bunch of objects off a server (through wcf services) and each of these devices has a lat/long properties. To map something on bing maps, you supply it with a Location type (essentially just a wrapper for lat/long)
The types I'm working with are stored o...
I'm trying to install a XAP file offline using sllauncher but it is not working.
UPDATE I erased all the existing references and folders for my app and now it seems to be working. I will leave this up as it has some good clues on how to solve this.
C:\Documents and Settings\Rod\Local Settings\Application Data\Microsoft\Silverlight\OutOf...
I am fairly new to silverlight. I am developing on the windows phone platform.
I want to place a button at the end of the listbox entries which will be bound to data from the webservice (I am using a listbox template)
List item 1
List item 2
List item 3
List item 4
List item 5
List item 6
List item 7
List item 8
..Button..
I tried n...
Hi,
As far as I understand to develop a SL 4.0 application I will need to upgrade VS 2010 because CoreCLR of SL 4.0 seems to use some parts of .NET 4.0.
Which means extra cost for me regarding to licensing of VS 2010 + Resharper 5.0.
But if I prefer SL 3.0 instead of SL 4.0 I won't need anything to upgrade and I can go on with my VS 2...
I have a web app containing a silverlight application.
How do I keep the ASP.NET session / Forms Authentication alive when the user is using the silverlight application?
...
Can we use Binding for Grid ColSpan/RowSpan?
For example,
<StackPanel Grid.ColSpan={Binding ColSpanValue} />
...
For an internal project we would like to play with building a video conferencing system. We are able to decide the browser that the user has to use and can install plugins.
The only requirement is that the browser and plugins must be free and work over Linux and Mac. (Don't care about Windows)
What is the best way to do access the web...
i have a silverlight scrollviewer in my xaml page as below
<ScrollViewer x:Name="scroller" HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Hidden" Height="140" BorderBrush="{x:Null}">
contents here
</ScrollViewer >
and i am trying to move the scroll bar programmatically as below but it didnt worked out
scro...
In Silverlight there is no DataGridComboBoxColumn in the DataGrid.
This is sad. What is the best way to recreate this functionality.
...
I have setted a property like this:
public static readonly DependencyProperty ValorRegistadoProperty = DependencyProperty.RegisterAttached(
"ValorRegistado",
typeof(string),
typeof(CampoInfo), new PropertyMetadata(new PropertyChangedCallback((d, e) =>
{
System.Diagnostics.Debug.WriteLi...
How do I add simple "pushpins" or other objects to a Bing Maps Silverlight Control from the ASP.NET C# code behind? I have only found examples for modifying the actual Silverlight control (i.e. MainPage.xaml). This is not the answer I am looking for. Thanks for the help, completely new to Bing Maps.
...
In Silverlight 4:
I'm converting a Usercontrol to a templated control. In my Usercontrol I had a RenderTransform
<src:UserControlView.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform X="-478" Y="-478"/>
</TransformGroup>
</src:UserControlV...
Hi
I have a usercontrol which is responsible for presenting creation and change of users.
The usercontrol is bound to an entity delivered by a RIA Service:
[MetadataType(typeof(User.UserMetadata))]
public partial class User
{
internal class UserMetadata
{
protected UserMetadata() {}
[Required]
public st...
I have a DataGrid in my application, which have a column with defined CellTemplate with a text block and a button in it.
I want to show the button only when hover this specific cell. How can i achieve this?
Thanks in advance.
...
What is the best way to increase the fontsize for an entire Silverlight app?
...