I am doing some game-related rendering with Silverlight, and when I attach a pixel shader to an image that has a (rotational) transformation, I am seeing a strange, fuzzy, pixelation effect.
Here is a screenshot of the problem. The image on the left has just a transformation. The image on the right has a transformation and a pixel shade...
I am trying to refresh the sorting on a CollectionViewSource using Silverlight 3:
var MyView = Resources["SortedCart"] as CollectionViewSource;
MyView.View.Refresh();
XAML CollectionViewSource config:
<CollectionViewSource x:Key="SortedCart"
Source="{Binding Path=Model.CurrentCart, Source={StaticResource ViewMod...
Can you set the initial directory in Silverlight's SaveFileDialog? I'm not seeing it as an option.
If you can not set it in code how does Silverlight determines the initial directory. It looks like it remembers the last location used but is that per silverlight app. What about initial use of the savefiledialog (maybe the Desktop?)
...
Has anyone got a TDD-ish methodology for designing complex WPF xaml components (i.e., ControlTemplates, Custom Controls with dependency properties)?
Is eyeballing the UI the closest you can come to asserting your code is correct? How about incremental development; any aids to dividing up the logic incrementally?
If there isn't any meth...
I created a sample Silverlight Web project
and I am getting 'Access is denied' when I do this:
string fileName = "map.gif";
FileInfo fileInfo = new FileInfo(fileName);
How can I give the web project access to this folder/file?
I added the image into my project, really drawing a blank here....
...
Mostly due to the relative URI feature/problem in silverlight, I'm considering moving a Silverlight .xap out of ClientBin to the root of a website?
What I don't understand is the purpose of the ClientBin folder in the first place. Is there security restrictions placed on this folder (similar to why you would put perl scripts in cgi-bin...
I've been tring to get this example to work, but there seems to be a bug in the code Label Target code, in that when you click on the second label the focus is set to the DatePicker rather than the TextBox, regardless which label you click first, also when you have entered the date the second label still sets it focus to DatePicker.
<!-...
I have a few applications that might qualify for porting over to a Linux/Mac platform, but first I need to know what baseline of technology is safe for compatibility, what is marginal, and what is unsupported.
Is there a consolidated list somewhere that helps me determine if my app even qualifies?
What other resources should I be aware...
Silverlight 4 running with elevated permissions provides access to certain special folders in the file system.
http://msdn.microsoft.com/en-us/library/system.environment.specialfolder(VS.95).aspx
These work great on Windows, but what do they map to on Mac OSX systems?
My application needs to access "My Documents". Will this map somewhe...
Hey there,
I've got a one-to-many relationship set up. (Ex. A Person with many Phone Numbers). In my get query i have this.ObjectContext.Person.Include("PhoneNumbers") and the in generated MetaData including public EntityCollection<PhoneNumbers> PhoneNumbers{ get; set; } I have also set up a DTO with this and other properties i need.
[...
I'm new to silverlight, so I don't know if this is obvious or not.
I have a datagrid where the first column is a check box (named "Overridden"). The second column (named "ShowDetails") is a button which allows the user to expand the row to see a nested grid. If the "Overridden" check box is not checked, the "ShowDetails" button should b...
How can i retreive "Header" of selected item in RadTreeView(SilverLight) control?
...
Hi,
i am adding html to silverlight's web browser control .what i want is ,
web browser control always navigated to the bottom and
web browser control to show horizontal and vertical bar.
thanks
jamal.
...
I'd like to try the pivot control and have VS.NET 2010 installed but do not see it anywhere when I create a silverlight project. Any ideas on where I can find this?
...
I have VS2010 and Expression studio 4 on my machine. I have done a fair amount of programming on Silverlight. What do I need to get started with development on Windows phone 7. I googled and found out that I need to install VS2010 express for WP7 beta. Can't I just use my existing VS2010 installation with some additional templates and an...
I've had a day full of Silverlight idiosynchrasies, including this little doozy:
<ComboBox>
<ComboBox.ItemContainerStyle>
<Style TargetType="ComboBoxItem">
<Setter Property="IsEnabled" Value="{Binding IsEnabled}"/>
</Style>
</ComboBox.ItemContainerStyle>
<ComboBoxItem>First</ComboBoxItem>
<Co...
How can I append current time using PHP to the value attribute of the first param element in the following html fragment?
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
<param id="sourcie" name="source" value="SClient.xap?**TIME**"/>
<param name...
MVVM pattern is implemented in my Silverlight4 application.
Originally, I worked with ObservableCollection of objects in my ViewModel:
public class SquadViewModel : ViewModelBase<ISquadModel>
{
public SquadViewModel(...) : base(...)
{
SquadPlayers = new ObservableCollection<SquadPlayerViewModel>();
...
...
What is the difference between these 2 lines? Visually I haven't noticed anything different. Sorry I am just getting started with Silverlight.
<Button Content="Click me" Name="myButton" FontSize="18" Width="150" Height="45" />
and
<Button Content="Click me" x:Name="myButton" FontSize="18" Width="150" Height="45" />
...
I am going through the process of designing my first Silverlight application based upon the PivotViewer control from Silverlight 4. I am having problems organizing the bar at the top as per my design:
I have found ways of left aligning the Logo and Title, a way of right aligning the buttons with various combinations of panels however ...