Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
0 replies
37 views

We want to ad a request timestamp to some forms in Spring Boot. We need the timestamp in production and testing for various reasons. public interface TimestampForm { ZonedDateTime getTimestamp(); ...
Janning Vygen's user avatar
3 votes
1 answer
59 views

I'm trying to have a Syncfusion Popup in my app. Because of the size and for reusability I put the Popup's content into a separate ContentView. However this makes the Binding to the content fail. I ...
Thorsten Schmitz's user avatar
0 votes
0 answers
20 views

I have a 3rd party SDK which was installed via VSIX / NuGet package. Let's call it FoodFight/CoolKids for Windows. I'm working on a VSIX that does a wizard implementation of this SDK as part of its ...
CatAtGat's user avatar
2 votes
1 answer
43 views

I have an Xceed DockingManager that is bound to an observable collection of objects. The docking manager populates a dropdown button based on the number of objects within the observablecollection. ...
gwiz_kid's user avatar
  • 143
0 votes
1 answer
87 views

I have this view, for example: struct MyChartView: View { let chart: MyChart @State private var selectedPoint: Int? = nil var body: some View { //... draw chart, set/move ...
brigadir's user avatar
  • 6,941
0 votes
0 answers
111 views

I'm trying to make an app with flutter dart for android. the app that I will made is that a chatbot (like chat gpt) using built in model (the ai model will have .gguf extension). So the ai model will ...
Fajar Alam's user avatar
2 votes
1 answer
179 views

I'm developing an Avalonia Application and I'm trying to figure out how can I make a DataGrid cell editable, here's my DataGrid to make it more clear: <DataGrid IsReadOnly="False" ...
DigioMatthy's user avatar
0 votes
1 answer
92 views

I am developing an application on .NET MAUI and I'm using it because I need the multi-platform feature through mobile and Windows, but I'm having some problems when I run the application on Windows. ...
DigioMatthy's user avatar
0 votes
0 answers
116 views

I'm trying to add autocompletion to a TextField that acts as a data column in a TableView. In particular, I want to use an Array of String values as suggestions, but not require that the value of the ...
Robert Fuhrer's user avatar
2 votes
1 answer
167 views

How to achieve this : When I click on right arrow of the carousel, I want to trigger a method with the item index as parameter. Some thing like <button ... (...)="eventHandler(index)" .....
KnowledgePath's user avatar
-1 votes
1 answer
103 views

I have a SwiftData class that I get with @Query private var items: [Item] in a SwiftUI view. Then I pass it to a sub view that passes it to other sub views. What is the best way to pass the class ...
Kitten Apps-Films's user avatar
2 votes
2 answers
64 views

I have an environment object Order, containing a list of OrderItem (aka an item + a quantity) I'm presenting a list with steppers so quantity can be modified for each item. struct MenuItem: Codable, ...
batsansierra's user avatar
0 votes
2 answers
77 views

I bind a Text property of a TextBox to listView.SelectedItem, which is dynamically populated from a collection of objects: <TextBox x:Name="setName" Text="{Binding ElementName=...
kosholu's user avatar
0 votes
1 answer
55 views

I have just realized that several of my view-models violate a key rule of the function BindingOperations.EnableCollectionSynchronization The docs state that it must be called from the UI thread. I ...
Joe's user avatar
  • 7,194
0 votes
3 answers
93 views

I'm working on .net maui and I'm facing a strange issue; I have a CollectionView with bounded ItemsSource and SelectedItem. I'm trying to do a simple preselection to set CollectionView's SelectedItem ...
Jesoo's user avatar
  • 104
0 votes
0 answers
31 views

I would like to modify the Template of the CellStyle, ElementStyle and EditingElementStyle of the DataGridTextColumn (and also DataGridComboBox and DataGridTemplateColumn later on). Let's say I have ...
Ludovic Wagner's user avatar
1 vote
1 answer
65 views

This is a basic question, somewhat... that You ask a teacher after not understanding the documentation, just to be sure. I'll delete it if asked to do it. My understanding it is that is not possible, ...
Dr1001's user avatar
  • 51
0 votes
0 answers
51 views

I am using the usb-serial-for-android library from GitHub with a dotnet Visual Studio project type Android Java library binding. Just added this to my project file <ItemGroup> <...
MrMeDkAtEng's user avatar
2 votes
1 answer
138 views

I found this question about the difference between .a and .so files First Linking the dynamic libraries: One answer says: The advantage of .so (shared object) over .a library is that they are linked ...
FOXDeveloper's user avatar
0 votes
0 answers
23 views

I'm trying to pass OnEditorActionListener to my view. However, the OnEditorActionListener isn't triggered. class WMScanEmpfaengerFragment : TransactionNavigationFragment<WMScanEmpfaengerViewModel&...
You Watch's user avatar
0 votes
2 answers
63 views

My main ContentView contains a ChecklistView, which contains several CheckViews, which contains a Toggle view. When clicking on a checkbox, the information is passed to the ContentViewModel, but does ...
GT4485's user avatar
  • 65
2 votes
2 answers
128 views

In a resource dictionary I am defining a DataTemplate with x:Key="AnimalsDataTemplate". The resource dictionary is registered under Application.Resources in App.xaml. In my main page, I have ...
Tim's user avatar
  • 23
0 votes
1 answer
82 views

I created a class derived from DependencyObject and added properties to it which were registered as DependencyProperty: public class DependencyPair : DependencyObject { public static readonly ...
Hürol Aslan's user avatar
0 votes
1 answer
71 views

I try to find a solution for my problem, but I'm at a dead end of my attempt and my small JavaFX skills. Long story short, I want to activate a Button when two TextFields contains valid values and a ...
ryanthara's user avatar
0 votes
0 answers
71 views

We are developing a .NET MAUI-based mobile application for iOS, and we would like to integrate the Workspace ONE SDK. However, since there is no direct support for MAUI, we are trying to convert the ...
Pelin Konaray's user avatar
-1 votes
1 answer
92 views

Binding a ContentControl to the selected item of a treeview I can't get DataTemplate to show something according to DataType: <ContentControl Grid.Column="1" Grid.RowSpan="3" ...
ericg67's user avatar
0 votes
3 answers
179 views

The SwiftUI ScrollView lacks some features I need, so I used UIViewRepresentable to create a custom container based on UIScrollView. I found different tutorials showing how to create custom container ...
Andrei Herford's user avatar
0 votes
2 answers
75 views

When running in "cluster" deploy mode and another node is elected as the driver then the app fails with address bind issues. When running in "client" deploy mode from any of the ...
Rene's user avatar
  • 11
0 votes
1 answer
175 views

I am not sure if it is a good concept, but let's start from it here. I have a simple View: struct InAppPurchaseView: View { private let viewModel = InAppPurchaseViewModel() var body: some View ...
Bartłomiej Semańczyk's user avatar
0 votes
0 answers
26 views

this is after cleanup the inspection error while all dependencies are still same and viewBind is also true How to solve this? override fun onCreate(savedInstanceState: Bundle?) { super....
goru kapoor's user avatar
0 votes
1 answer
104 views

I'm trying to make a view with some pickers. The selections should be connected to a property of an binding array: @Binding var limits: [Limit] var body: some View { ForEach(limits) { limit in ...
user2836375's user avatar
-1 votes
1 answer
83 views

I have a question for you: I'm trying to bind 2 strings, one from the user control to the code-behind of the window. This is the usercontrol style: <UserControl x:Class="PasswordManager....
user27828246's user avatar
2 votes
1 answer
161 views

In my WinUI 3 app, I get no errors when the app is in Debug mode, but when I turn the Release mode, I get a System.NullReferenceException. Looking at the stack it seems to me that the problem is ...
bluveneziano's user avatar
1 vote
1 answer
75 views

I am a PowerShell novice. Suppose that I wish to call Get-Service -Name winrm, netlogon Due to parameter binding, this will be parsed as if we typed @("winrm", "netlogon") rather ...
J. Mini's user avatar
  • 1,746
0 votes
1 answer
74 views

I have a user control that shows a logo, which has a triggered animation. It has a couple of dependency properties for border and background brushes, and it all works well. In the control's xaml, ...
Geoff's user avatar
  • 8,918
3 votes
0 answers
55 views

I noticed that some of my mappings were being executed multiple times and decided to investigate. I found out that chaining multiple ObservableValue#map calls, then adding a listener to the result ...
Alver415's user avatar
0 votes
1 answer
47 views

I had some trouble figuring out how to add a Key Binding to my new Snippet in Sublime. This answer may save some people some time...
Mr.Black's user avatar
  • 463
0 votes
1 answer
31 views

I'm new to Blazor and the next issue I'm having is trying to bind dynamic data from a lookup table onto an InputSelect deal Here's the Create Code: @page "/movies/create" @rendermode ...
Rusty0918-B's user avatar
0 votes
0 answers
28 views

I found one a bit official definition for these in this book: deep binding uses the environment at the time the passed function was created shallow binding uses the environment of the expression that ...
An5Drama's user avatar
  • 774
1 vote
2 answers
111 views

I wonder why .fullScreenCover(isPresented:) requires a Binding instead of a simple Bool. I understand that .sheet requires a binding report back that it was closed, e.g. through a swipe gesture. ....
Andrei Herford's user avatar
-3 votes
1 answer
78 views

A SwiftUI view should show different .sheets. For example some EditorView with a picker view in a .sheet for a number of different values. Instead of using different @State vars and .sheet blocks for ...
Andrei Herford's user avatar
0 votes
1 answer
101 views

In a WPF DataGrid, if I use AutoGenerateColumns and bind it to my collection of class objects, it displays enums as a combobox automatically where I can choose between all options available in the ...
Denis Schaf's user avatar
  • 2,880
0 votes
0 answers
27 views

I have a DataGrid that is bound to a ObservableCollection of named Views (ViewItem). I have a CellTemplate column that I have a ComboBox inside a DockPanel that I am binding to an ObservableCollection ...
Sean_Page's user avatar
2 votes
1 answer
363 views

I have a MAUI .Net 8 project. I have a DataTemplate which is used in the SyncFusion ListView control. The dataTemplate is defined in a Style XAML file in my Resources folder of the project since the ...
AndrewJE's user avatar
  • 988
0 votes
0 answers
74 views

I'm using cxf xjc plugin version 4.0 to transform a schema to a java class, but this is generating a class that when a list is null, it returns an empty list, but I need the null, so I'm using JAXB ...
Lauro182's user avatar
  • 1,717
-2 votes
1 answer
38 views

I read the manual of binding object properties in Angular, however I struggle to find the perfect most optimized solution. Let's say i have a model User export class User { public _id: number; ...
user1108011's user avatar
0 votes
0 answers
42 views

I have a custom combobox, and if I want to show items via binding it does not work. But if I just give the combobox a name and in the MainWindow constructor I put myCombobox.ItemsSource = list it ...
Barta's user avatar
  • 147
0 votes
0 answers
66 views

I have a very specific custom control, I need to set a DataTemplate for all GridControl cells. I can't create a binding to Row Data.Row.[property name] because it will apply to all cells. How to bind ...
The Witcher's user avatar
1 vote
1 answer
339 views

I am attempting to improve runtime performance and running into an issue. I have a button on my ContentPage named MyCommand, this receives an Item (from a DataTemplate) and processes it. I have a few ...
Derek's user avatar
  • 712
1 vote
1 answer
116 views

I have to write a wrapper for the C-API of the library GDAL to generate FreePascal bindings under Debian 12 and GDAL version 3.2.2. One of the functions is: void CPL_DLL OGR_G_DumpReadable( ...
huckfinn's user avatar
  • 697

1
2 3 4 5
348