正规365体育投注

Questions tagged [xaml]

正规365体育投注 Extensible Application Markup Language (XAML) is a declarative XML-based language used for initializing structured values and objects in various frameworks. When a question is about the usage of XAML with a specific framework a tag for the framework should also be provided e.g. [wpf] (Windows Presentation Foundation), [silverlight], [windows-phone], [windows-store-apps] (Windows 8 store apps), [win-universal-app], [xamarin.forms] or [workflow-foundation]

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

WPF - How do I sort a DataGridTemplateColumn with a list of strings as content

I have the following code: <DataGrid ItemsSource="{Binding FilteredLectureViewModels}"> <DataGrid.Columns> <DataGridTextColumn Header="Name" Binding="{Binding ...
1
vote
1answer
20 views

WPF window properties only visible at runtime

I'm a XAML-beginner and also learning it by myself. So in the App.xaml I have the following Styles: <Application.Resources> <Style x:Key="Colors" TargetType="{x:Type Control}"> ...
0
votes
1answer
22 views

How to customize tool tip window to have arrow in wpf

How to customize tooltip window to have a corner arrow like shown below in WPF(xaml). I have my code like below <Image x:Name="imgInfoTab"> <Image.ToolTip> <ToolTip ...
1
vote
1answer
14 views

Assign a property value outside of the static resource file

I don't know if I've phrased the question correctly, but here is my problem. I have 3 buttons on the screen. Each button uses the same MyButtonStyle from the static resources file. All 3 buttons ...
0
votes
0answers
10 views

How can I overlay a Card View or a Framed layout on top of another layout in Xamarin Forms?

I have a situation where I need to "overlay" a grouped set of information, presented by way of a Card (inplemented as a ContentView) on top of a portion of the page header, which is defined in a Grid ...
-1
votes
0answers
16 views

Horizontal stretch in ItemsControl vs. ContentControl/DataTemplate

I'm trying to get this DockPanel to fill the width of its parent. When I use an ItemsControl, the width fills to the parent, but when I use a ContentControl, the width shrinks to its children. As far ...
0
votes
0answers
21 views

XAML Hot Reload for IOS Device not starting on Windows or MacBook Visual Studio 2019

I have a Xamarin Forms project that I am opening in an IOS Simulator. My Windows 10 PC is connected on the same network to my MacBook. But after the IOS Simulator shows up this message appears in the ...
-3
votes
0answers
29 views

How to properly define the Current Open Usercontrol

Okay so I know that I can access other windows within a window with this: ((Window name)Window.GetWindow(this)); but now I want to try that with a Usercontrol and I don't really know how to properly ...
0
votes
0answers
9 views

GridView doesn't scroll down to virtualized items

In my application, I need to select the newly created document(note) when I go back to library. After library item is selected, the Library must be scrolled to the selected item. My library's ...
0
votes
0answers
15 views

MaterialDesignXamlToolkit with WPF class library?

Sorry for the duplicate, but my low reputation does not allow me to comment on posts. i am trying to use MaterialDesignXamlToolkit with WPF with class library, exactly as in this post: How to include ...
1
vote
2answers
19 views

Modify a child control from trigger or better way to change their foreground?

I have a listbox with a template, inside the listboxitem I have 2 textblock. My goal is to change the foreground of those 2 textblock when the listboxitem is: Hovered(Mouse over) Selected My ...
1
vote
1answer
26 views

Using MultiDataTrigger to test for 0 and a boolean in TextBox which has StringFormat in XAML

I have a TextBox bound to a decimal value which I want to format to not display decimal values if they are zero. At the same time I want to change the Background to a color if the property value is ...
0
votes
0answers
32 views

ActiveX in WPF MVVM Light application

I am new to C# WPF programming and working on a WPF-Application that has to include a legacy ActiveX component. I know ActiveX is kind of dead but I have to use it in this case unfortunately. I use ...
0
votes
1answer
19 views

MahApps.Metro IOException: Cannot locate resource 'styles/colors.xaml'

I've been using MahApps.Metro from NuGet for a while without any issues. However, recently I had a few issues with NuGet packages needing to be reinstalled. In the end, I uninstalled all of the NuGet ...
0
votes
0answers
12 views

Customizing xaml atributes from toolbox

I created custom control with name e.g. FloodBox with some properties. This control appears in toolbox and every time I drag the control in code there is generated this xaml code there: <FloodBox/&...

15 30 50 per page
1
2 3 4 5
3715