WPF Datagrid. Get the values of each cell of the selected row.
I'm using the WPF toolkit datagrid. How can I get the values of the cells of the selected rows? Thanks ...
I'm using the WPF toolkit datagrid. How can I get the values of the cells of the selected rows? Thanks ...
I found lot of Barcode generation codeprojects in C#. But could not find 1 in VB.Net. Please help me on this. ...
I have usercontrols which inherit a base class which looks like this: BasePage.cs: using System.Windows.Controls; namespace TestPageManager23434 { public class BasePage : UserControl { public string ButtonPreviousText { get; set; } public string ButtonNextText { get; set; } protected PageManager pageMa...
What I want to be more specific is an element I can use for grouping a set of other elements, without effecting their layout. The only thing it should do besides giving a nicer XAML by grouping related elements in their own parent tag is to propagate ambient properties such as DataContext. It should be a purely logical element without an...
I am writing my UI mostly in XAML without a wysiwyg in grids you can do <textbox Grid.Column="0" Grid.Row="0" ... when creating a grid comming from a html background i have been doing ... <textbox Grid.Column="0" Grid.Row="0"> <Label Grid.Column="1" Grid.Row="0"> <textbox Grid.Column="0" Grid.Row="1"> <Label Grid.Column="1" G...
Hi, I am looking for a WPF Timeline User Control. I have checked out Blendables Timeline and Animated Timeline control from IdentityMine, but it is rather basic and buggy. I am looking for a timeline control that is similar to the MIT Similie timeline. http://www.simile-widgets.org/timeline/ What i need to be able to do is add inte...
Hello everyone, Is there a way to make the shadow of the first control in a StackPanel appear on top of the second control? I'm having trouble with this, look at the picture! Code sample: <Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" ...
I have the following as the body of a UserControl: <Label FontWeight="Bold" x:Name="PaletteLabel" HorizontalAlignment="Stretch" BorderThickness="1" > <Label.Background> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="#FFB6B5C3...
Hello All I am trying to bind a combo box with some data. The problem is that I have the data in the combo box like this: <ComboBox> <ComboBoxItem>Item 1</ComboBoxItem> <ComboBoxItem>Item 2</ComboBoxItem> <ComboBo...
I'm writing a monitoring system that displays real-time sensor data. The sensors are arranged in a hierarchy. Sensor 1 could, for instance, have S1.1 and S1.2 as children, which could in-turn have S1.1.1, S1.2.1, and so forth. I'm looking for a GridView control that allows one to drill-down each parent item, while still refreshing the ...
i have a project that i am doing and i need to share the code between silverlight and WPF Assembly problem is that even though the wpf assembly is the owner of that file and the silverlight assembly only has a link to the file, all of the build actions are page everything is correct. if i make the silverlight assembly the owner then silv...
In the following example, the Message property binds correctly but the FirstName, LastName and Age properties of the Customer object are blank. Why is that? XAML: <Window x:Class="TestBinding9922.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" ...
<DockPanel LastChildFill="True" Height="18"> <Image Height="18" Width="80"> <Image.Source> <DrawingImage> <DrawingImage.Drawing> <GeometryDrawing Brush="Black"> <GeometryDrawing.Geometry> <LineGeometry StartPoint="0,9" EndPoint="38,9" /> ...
I need to use an existing WPF docking library. There are several libraries: AvalonDock .NetBar SanDock ActiPro Infragistics does anyone has any experiance with one of those libraries? Can you recommend one of them? ...
Hi, How do i set maxlength to combobox, which is having a style applied to it. Thanks ...
I'm having trouble understanding how to use threads. In a delegate that is called as needed to allow the user to select from a collection of projects, the first instantiation is costly due to data retrieval. The method looks like so: private void _doStandAloneProjectPickSession(ProjectDataMode dataMode) { var picker = new ProjectPick...
Hi, I was just creating a Grid in my XAML when i noticed that Visual Studio automatically creates ColumnDefinitions like this: <Grid> <Grid.ColumnDefinitions> <ColumnDefinition></ColumnDefinition> <ColumnDefinition></ColumnDefinition> </Grid.ColumnDefinitions> </Grid> I always stop this from happening by using the s...
I have this XAML: <TextBlock TextWrapping="Wrap" Foreground="Green" Text="This is some Green text up front. "> <TextBlock Foreground="Blue"> This is some Blue text. </TextBlock> This is some Green text following the Blue text. <Hyperlink> <TextBlock Text="And finally, this is a Hyperlink." Tex...
I've been Googling for it; but without any luck. I think this is fairly simple. I have a user control named 'TicketGroup'. TicketGroup is the visual representation of a List object I have. The XAML code I've got looks like this. <c:TicketGroup Grid.Row="1" /> <c:TicketGroup Grid.Row="2" /> <c:TicketGroup Grid.Row="3" /> ...
I have a custom Attached Property but the Accessors on never being accessed on databinding. Are theses accessors meant to be accessed everytime the attached property changes? public static readonly DependencyProperty CharacterColumnNumberProperty = DependencyProperty.RegisterAttached("CharacterColumnNumber", typeof(int), typeo...