Hi all,
I'm creating a button with a down arrow:
The arrow is actually a button within a button.
When the mouse is at the location I pointed out with a red dot it looks like this (which is good):
The inner button lights up okay. But when going slightly up it looks like the following picture (not good, the inner-button is not sel...
I want a layout like VS 2008. In which I want two columns and second columns is again split into two.
I done that in the xaml mentioned below, but the GridSplitter is not visible vertically ( which split two columns).
I want both the GridSplitter to resizable. One GridSplitter Resize the Left Hand Pane and Right Hand Pane and another G...
Sor far I have:
<Grid x:Name="MainLibraryGrid">
<TabControl Name="TabControl1" TabStripPlacement="Bottom">
<TabItem Header="300s">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
<ColumnDefini...
Hi guys,
Right, what I have is:
<Window x:Class="WpfGettingThingsDone.View.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
AllowsTransparency="True"
Background="Transparent"
WindowStyle="None"
Title="{Binding Title}" Height...
Hello. In Windows grid is sucha a thing like
DataGridViewTextBoxColumn col = new DataGridViewTextBoxColumn();
Is something like that in DevExpress GridControll for WPF?Or maybe is possible to do some workaround?
...
I have a template for treeView item:
<HierarchicalDataTemplate x:Key="RatesTemplate">
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Path=ID}"/>
<Button CommandParameter="{Binding Path=ID}"
Command="{Binding ElementName=CalcEditView, ...
I have this WPF Window:
public Window1()
{
InitializeComponent();
this.Content = new TheForm();
}
Which loads this UserControl:
<UserControl x:Class="TestAutomaticUpdate82828.TheForm"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Height="30...
Is it possible to use binding to add objects to a XAML collection.
something like
<x:Array Type="sys:Int32">
<Binding Source="obj", Path="Prop1"/>
<Binding Source="obj", Path="Prop2"/>
</x:Array>
...
Hi,
I've recently overridden the DevXpress WPF grid to give myself a SelectedObject property that I can access from my loosely bound ViewModel.
I've made a SelectedObject dependency property and have it bound OneWayToSource in my XAML.
Everthing works fine, but if I try to make it ReadOnly (for completeness) I get a compile error and ...
I'm learning WPF and MVVM and trying to stress good design. I have lots of experience with WinForms and C#. This is conceptual so I don't think I need to post code.
I have a xaml Window that manages "Profiles". On the left half is a custom Control treeview bound to a ViewModel that reads a database and creates a heirarchy of profiles. T...
I understand only 4 languages are supported within WPF in-built spelling, English, German, French and Spanish are available. But is only en-US supported, how about en-GB?
Documentation on this topic in MSDN docs. seems sparse at best. Where can I locate exact details on the languages supported?
The reason I ask this is that I would l...
I have a Button ControlTemplate and I'm trying to modify a DropShadowEffect on a Border by using a Trigger. Here is my Xaml:
<Button.Template>
<ControlTemplate TargetType="Button">
<Border x:Name="ButtonBorder" Margin="10" CornerRadius="5" Background="Gray">
<Border.Effect>
<DropShadowEffect ShadowDepth="5" x:Name="B...
I currently am loading all images in a folder in my "MyPictures" folder on my machine which works fine...
foreach (string filename in Directory.GetFiles(Environment.GetFolderPath(Environment.SpecialFolder.MyPictures)))
What I really want to be able to do, though, is load all the images in my Images folder within my solution project. C...
Hi All
I need help in acomplishing this in wpf :
"Modify the main screen so that all controls resize Proportionally when the form is resized"
Thanks
Marius
...
I'd like to be able to set a property to a dynamic resource programmatically.
myControl.Property = this.Resource[key]
is not a valid response, since if the resource with the key 'key' is replaced, the property is not updated automatically.
Thanks for you response,
...
hi there,
I have a WPF Listview databound to an ObeservableCollection named "FilteredAppendixes". Now I create a view with:
CollectionViewSource.GetDefaultView(FilteredAppendixes);
The currentItemProperty of it will not be in sync with the Item I choose by Mouseclick in the listview. the CurrentITem property always remains the same fi...
Hi
My question is actually about starting an application with MVVM :
My main screen will host many screens. I understand that they will be UserControls.
But i don't see where i instantiate then when i want, when i show them and when i hide them ?
The logic is not clear to me. Can someone explain me or point me to a simple and clear e...
Is there a way to get the wpf toolkit datagrid to show new rows when its bound to a dataset? In other words, I have a datagrid, I've set its Itemssource to a DataTable, and everything seems to work fine, except I can't get the grid to show rows that I add to the DataTable programatically.
...
Short Version
Calls to CommandManager.InvalidateRequerySuggested() take far longer to take effect than I would like (1-2 second delay before UI controls become disabled).
Long Version
I have a system where I submit tasks to a background-thread based task processor. This submit happens on the WPF UI thread.
When this submit happens, t...
Hi
I am trying to make a tree list view that displays different information compared to the parent.
From what i have now, the Children display the same information as the parent. I was wondering, how i would do this. The last post i had didn't really quite make sense to me, it didn't work really well. I was wondering if anyone can expl...