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
1.2k views
1 answer
    I have a project in WPF 4 and vb.net 2010. I have a canvas inside a window. The window is full screen, but ... the window. How do I do this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
888 views
1 answer
    I am trying to call a storyboard declared in xaml from c#. <UserControl.Resources> <Storyboard x:Name="PlayStoryboard ... what i am doing wrong? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
756 views
1 answer
    I have a user control, call it UserControl, that has a grid with the following column definitions: <Grid. ... to fix this. Thanks. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
757 views
1 answer
    Could someone please explain why dependency properties are declared as static ? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
886 views
1 answer
    I have a DataGrid. It has DataGrid.RowDetailsTemplate. When a button is clicked it should Expand / Collapse; ... .Columns> </Custom:DataGrid> See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
829 views
1 answer
    I have a Border with CornerRadius property set to 10. Inside that Border, there's a StackPanel. The panel contains ... > </StackPanel> </Border> See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
784 views
1 answer
    Can anyone tell me which is a better approach for Validation in WPF. Implementing IDataErrorInfo Creating ValidationRule ... and re-use. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
838 views
1 answer
    Normally, when I assign an enum value to a XAML attribute (usually the "Tag"), I use: <XamlElement Tag=" ... the correct way to accomplish this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
678 views
1 answer
    I have a WPF application with several windows. I would like to define GLOBAL inputBindings. To define LOCAL ... ? Any ideas? thanks! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
863 views
1 answer
    I know this question has been asked before, but none of the "previous" answers seems to work for me... I have ... can't figure this out either. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
922 views
1 answer
    Say I have a tab control, and I have over 50 tabs, where there is no enough space to hold so many tabs, how make these tabs scrollable? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
835 views
1 answer
    I have the following class declared: public partial class MainWindow : Window And I need to get the actual ... for pointing it out! Thanks See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I have multiple videos displayed they are bound with a videocollection in Mainviewmodel. Everything works fine untill I ... > ... closing tags See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
689 views
1 answer
    What is the difference for TargetType="{x:Type Button}" and TargetType="Button" See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
707 views
1 answer
    How can a command on a ViewModel be invoked by a specific event of a button, such as MouseDoubleClick? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
805 views
1 answer
    We're working on a desktop WPF app that runs on Windows 7 tablets and are adding some Surface Pro units with ... I can use to accomplish this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
898 views
1 answer
    I have searched around and it seems very easy to bind enums to combobox, just retrieve Enum values as a list of ... }}" ... Thanks, Angela See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    Is there a way to define a converter when using the DynamicResource extension? Something in the lines ... of a DependencyObject. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
661 views
1 answer
    I have a WPF 4.0 DataGrid that is bound to a DataTable using AutoGenerateColumns=True. The columns are dynamic, however ... a way I can do this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have this code (which works just right): <KeyBinding Key="Enter" Command="{Binding ReturnResultCommand}"> ... command into several commands)? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
616 views
1 answer
    I'm trying to create a WPF MarkupExtension class that provides translated text from my text translation class. The ... exists in this case). See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
611 views
1 answer
    I have an MVVM application that requires basic backward/forward navigation between screens. Currently, I have ... the entire screen? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    Hope this is not a dupe. I would like to be able to do the following in XAML: <DataTemplate DataType="{x: ... .Column and Grid.Row. Any ideas? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    If a have a Canvas parent, it is very easy to get the position of a child: Canvas.GetLeft/Top (child) But ... child for other types of parents? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    Is it possible to have "column headers" on a combo box bound to multiple items? For example a combo box ... </ComboBox.Resources> </ComboBox> See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
723 views
1 answer
    I'm just concerned about Windows, so there's no need to go into esoterica about Mono compatibility or anything ... .Forms if at all possible. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
632 views
1 answer
    After looking around on both Async/Await and Threading, I'm still unsure of the right way to apply it to my ... on what I'm doing wrong. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
988 views
1 answer
    I have a TextBox with a validation rule that is on a tab of a TabControl. The default ErrorTemplate correctly ... </TextBox.Text> </TextBox> See Question&Answers more detail:os...
asked Oct 17, 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

...