I get this error
System.UriFormatException
[net_uri_BadFormat]
Arguments:
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.50826.0&File=System.dll&Key=net_uri_BadFormat
at System.Ur...
How would one create the top bar such as in Firefox 4's Orange bar?
I don't want to do my own window class as I still want to be hardware accelerated rather than sofware rendered.
Is there a way to do this?
...
Got a weird problem here. I have created a template for a ListBox based on the standard template (i.e. I have not changed anything other than what I indicate below).
I am trying to add a couple of buttons to the side of the template so that I can scroll the ScrollViewer (which is part of the standard ListBox template) left and right. Th...
In the following XAML UserControl I am binding a few items to properties in the UserControl's linked class.
<UserControl x:Class="Kiosk.EventSelectButton"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Kiosk"
Height="130"...
My question is pretty straight forward. I am trying to style the background of a button in WPF when I MouseOver/Hover on the button.
<Style x:Key="StandardButton" TargetType="Button">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="true">
<Setter Property="Background" Value="CornflowerBlue" />
</...
I have a CLR instance property, a static PropertyPath which points to the instance property and a xaml binding which uses the static PropertyPath directly like so:
NB: GetPropertyPath is simply a method which returns the propertypath based on the given linq expression from the member name.
public static PropertyPath MyPropertyPat...
Trying to include a hoverIntent based on the following code:
private void ViewerTab_MouseLeave(object sender, MouseEventArgs e)
{
_mouseOverTabPanel = false;
ChangeCurrentPanelPosition(TabPanelPosition.Bottom);
}
private void ViewerTab_MouseEnter(object sender, MouseE...
Is there a updated comparison according to the latest technologies offered as shown here
...
Hi,
How can I implement this one line XAML programmatically in code? (as I'm needing to create the radio buttons on the fly, but what them to having bindings)
<RadioButton IsChecked="{Binding Path=Mode, Converter={StaticResource enumBooleanConverter}, ConverterParameter=Proxy}">Proxy</RadioButton>
I've got it to here (see below) so ...
What's your top 3 Silverlight performance design tips?
Thanks
...
This is a bit of a WPF whodunnit!
Update1:
Getting there! It seems that error templates are shown in the adorner layer. When I call var myAdornerLayer = AdornerLayer.GetAdornerLayer(this.txtCaseNumber); myAdornerLayer is null. (After the control is loaded so it's not that). So it seems to be something do with adorners, rather than...
Just started learning C# (in xaml), so appreciate some elaboration:
((MSAvalon.Windows.Serialization.ILoaded)(_Text_2_)).DeferLoad();
Not sure what all the round brackets means... does it mean "_Text_2_" is a child of object "MSAvalon.Windows.Serialization.ILoaded" ?
and if so... why not just something like:
MSAvalon.Windows.Seriali...
Is there an easy way to dynamically discover all the XAMLs files within all the currently loaded modules (specifically of a Silverlight Prism application)? I am sure this is possible, but not sure where to start.
This has to occur on the Silverlight client: We could of course parse the projects on the dev machine, but that would reduce ...
Hi,
I'd like to visualize XML data with the WPF TreeView control. The treeview displays all elements of the XML data in hierarchical order. Below the treeview is a ListBox containing TextBoxes for editing the name, the value of the element and all its attributes.
I have figured out how to display the XML data in the treeview. But I don...
I would like to make an image viewer where the client can load thumbnails to a file, then when the Photo Gallery button is selected the thumbnails appear in a grid and when the thumbnail is selected a larger photo will show in a viwbox. How do I get the path for the button click event to the photos? Can this be done in a markup ext?
...
In a window I have there is a list of DockPanels to specify a couple of files. Each DockPanel has a TextBox (for the path) and a button (to browse for a file).
I've recreated a simple WPF page to demostrate the problem here:
<Page
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsof...
Onmouseover moves my image down 50px (storyboard1)
Onmouseout moves my image back up 50px (storyboard2)
My problem is that if you mouseover quickly and then back out again it makes the animation stutter because storyboard1 isn't completing its animation, it stops when I mouseout. How can I use the completed event handler or some other m...
I have encountered a situation where it would be very useful to specify a floating point value directly in XAML and use it as a resource for several of my UI pieces. After searching around I found a good amount of information on how to include the proper assembly (mscorlib) in your XAML so you can do just that.
Unfortunately, I am gett...
I have a main datagrid, then an accordion control below it. In one of the accordion items I have another datagrid that binds to the selected item of the first datagrid. Simple xaml is:
<sdk:DataGrid Name="dgMain" ItemsSource="{Binding SomeSource}" />
<toolkit:Accordion>
<toolkit:AccordionItem Header="Details">
<sdk:DataGrid ...
TreeView:
-MainNode
-node0
data01
-data02
data021
data022
data03
-node1
data11
-node2
data21
Event SelectedChange;
As the choice of a node containing child nodes to get the final data?
For example:
selected node node0 receive data (data0...