Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged wpf

0 votes
856 views
1 answer
    I want to use a Converter to change the value of a StaticResource before assigning it to a property ... Converter={StaticResource myConverter}}? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
899 views
1 answer
    How do I include text decorations such as Underline, Strikethrough etc in a Style definition: <Style x:Key=" ... ) and all is well. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    Very new to WPF and XAML. I can't get my head around why I can't place a WPF control where I would like in ... ="2"> Items </StatusBar> </Grid> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I have a datagrid bound to an observable collection. When the user press the "add button" it adds a new ... pattern. Any ideas or suggestions? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
691 views
1 answer
    I've found a new twist on the "Visual to RenderTargetBitmap" question! I'm rendering previews of WPF stuff for ... Anybody have a fix for this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
962 views
1 answer
    If I set widths of DataGrid (located in RowDetailesTemplate) columns using "*" - columns scaling doesn't ... .RowDetailsTemplate> </DataGrid> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
867 views
1 answer
    Our designer is using Blend to style our WPF application. When he chooses local resources for properties, Blend ... and DynamicResource in WPF? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    i have the following case: Window |_Grid |_ListView (MainProductGrid) |_View |_GridView |_GridViewColumn |_CellTemplate | ... /ListView> </Grid> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I have an ItemsControl whose for the ItemTemplate DataTemplate contains a Button. I want the Command on ... ItemsControl's DataContext object? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
884 views
1 answer
    When I attempt to specify multiple DataTemplates for use by a ContentControl so that the correct one (based ... node appears ContentControl). See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    My WPF ComboBox contains only text entries. The user will select one. What is the simplest way to get the text of ... . See Andy's answer below. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
963 views
1 answer
    I have a ContextMenu like this: <StackPanel Orientation="Horizontal"> <StackPanel.ContextMenu> <ContextMenu> <MenuItem ... do this? Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
831 views
1 answer
    We are developing a custom header bar and we need to use the close/minimize/reduce button from the Windows 10 theme ... there a way to get it? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
986 views
1 answer
    In my ViewModel I have a list of items that I would like a grid in my view to bind to (the items ... rendered correctly within the grid. Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
914 views
1 answer
    I realised that when using an InvokeCommandAcction associated to an EventTrigger, the original event was still routing up ... ... </UserControl> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    Currently I am using an ObservableCollection within a WPF application, the application is an implementation of Conway's ... items on a Canvas? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
874 views
1 answer
    In the MVVM Pattern, is there exactly one ViewModel per View or is there exactly one ViewModel per Model? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
912 views
1 answer
    I was just trying uniform grid, how it works. Code : <UniformGrid Name="uniformGrid1" Rows="2" Columns="3"> < ... .Column if they do nothing ??? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
848 views
1 answer
    I'm using a listView based on itemTemplate. So i need in my template to alternate the background color : - fist ... How Can I do this please?? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
798 views
1 answer
    How would one achieve mixing bound values with constant text in a WPF bound control? For example, say I have a ... one label in a flow control? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Here is what I am trying to do. I have 2 Data Templates defined which both refer to a different user control. ... do this? Appreciate the help. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I have a method: private void DeletePuzzle(object param) { } param is a System.Windows.Controls. ... through param's items? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
959 views
1 answer
    I have a treeview structure. When I try to click on the nodes there is a blue color that shows the node ... to be displayed on the tree. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I would think this is possible, but the obvious way isn't working. Currently, I'm doing this: < ... writing a custom template selector? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I have an ItemsControl, the ItemsPanel is made by a DockPanel. Inside of the DockPanel, I can have one, two, ... Button> </Grid> </DataTemplate> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
918 views
1 answer
    I'm working with a project that is WPF and VB.net. I want to visually simulate "dragging" an object (though ... ! Thank you all very much. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
841 views
1 answer
    My view model has a PointCollection property like this: public class ViewModel : INotifyPropertyChanged { public ... in the PointsCollection. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.1k views
1 answer
    I'm trying to create a pdf document using iTextSharp 5.3.4 using the following Document document = new Document() ... - anyone got any ideas? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...