4,216 questions
0
votes
1
answer
139
views
Customizing a Border Around Pickers for Android on Maui using Handlers and Mappers
I am trying to add a Custom Border around the Picker for Android but my code provided does not seem to be doing anything.
Microsoft.Maui.Handlers.PickerHandler.Mapper.AppendToMapping("...
0
votes
0
answers
83
views
Why Does My Custom Control Start with a Deep Blue Color in My Flet App?
I am working on a Flet app and have built a custom control with some animations. The problem I am encountering is that when I first run the app, the control's color initially appears as a deep blue ...
0
votes
0
answers
127
views
why custom component ComboBox display Black color when dropdownstyle set to dropdown in vb.net
I'm trying make custom component ComboBox but display Black color when dropdownstyle set to dropdown in vb.net
without using WndProc how can I solve it when dropdownstyle set to dropdown ?. Is there ...
0
votes
1
answer
33
views
Custom WPF panel that implements IScrollInfo scrolls, but the scrollbar thumb won't move
I created a custom WPF panel that arranges items around a circle. The panel is intended to allow users to scroll, rotating all the children through the "3:00" position.
I implemented ...
0
votes
1
answer
179
views
WinUI 3 Custom Control Property Binding doesnt work
I created a Custom control that is supossed to be used as a button in an item View, however, the binding to change its text doesnt work.
CustomControls(Winui3 class library project)/CustomTableItem.cs
...
1
vote
2
answers
989
views
Holding the state of a ControlValueAccessor component using signals requires "{ allowSignalWrites: true }"
I have this component implementing ControlValueAccessor and holding the internal state in a signal value:
export class InputComponent implements ControlValueAccessor {
// internal state
...
5
votes
1
answer
107
views
JavaFX custom control not showing On Action option
Hey all I am needing a hand with the following:
I am trying to add the "On Action" to my custom control I create in Scene Builder 2.0.
I will have a couple of these in my scene so I am ...
0
votes
0
answers
53
views
WPF CustomControl Textboxes don't trigger KeyDown events
I'm making a custom control for a particular UI I am creating. Ideally, the user inputs a number into some textboxes, and upon pressing enter, those numbers get saved and can be used later in the ...
0
votes
1
answer
649
views
How to add a 32-bit Custom Windows Forms Control into Visual Studio Toolbox in vs2022(64-bit)
I want to add a 32-bit Custom Windows Forms Control into Visual Studio Toolbox in vs2022(64-bit).
What I have tried:
"Toolbox"->"choose items"->then import the "xxx.dll&...
2
votes
1
answer
2k
views
MAUI Compiled Bindings in ContentViews
I came across this while reading the MS documentation for compiled bindings and it has confused me now with how to do data binding on ContentViews for custom controls:
Important
Compiled bindings are ...
0
votes
1
answer
68
views
Custom Control - How to get compositeData in onClientLoad
After a timeout I logout the user and redirect to Login as described here:
NotesSpeak
A part of this code is executed in onCliendLoad().
var thisUrl = window.location.pathname;
var finalPath = ...
1
vote
0
answers
458
views
.NET Maui How to inherit from a custom control
I have a custom control that includes base functionality, and I want to create other custom controls that inherit from it. And that's where I start running into compiler errors. Here is the relevant ...
2
votes
1
answer
450
views
Angular custom control onChange not working properly
I have built a dynamic form with standard and custom control (a simply button scale to push and retrieve the value). I followed the Angular tutorials and others to ensure that I was building the ...
0
votes
0
answers
52
views
FloatingLabelComboBox can't seem to set binding data to codebehind
I have a project in order to create a custom control that binds properties to display the properties of the selected item.
For example, I have two instances of my CustomControl, one for "...
0
votes
1
answer
249
views
WPF Custom Control Style Trigger Not Working
Special thanks to @BionicCode for getting me started here with my user control styling:
Styling A Custom Control
I created a simple demo custom control with a button and textblock. Now I'm adding a ...
1
vote
1
answer
339
views
Maui Using Binding in a custom Control inside a CollectionView
I've created a Custom Switch control in a ContentView , I'm trying to Bind the toggled State of this Custom switch , so that it changes according to the binded Value, but I'm getting an error when ...
-2
votes
1
answer
152
views
WPF Custom Text Box Control - Focus & Mouse Over
I am creating a Custom Control to create a particular TextBox style for my application:
Here is the resource dictionary which I have created to get the expected layout:
<Style TargetType="{x:...
0
votes
1
answer
80
views
WPF - stretch image to fit area
I'm trying to show the following, depending on the shape of the image (the blue block):
I'm having a few problems:
The image stretch should be constrained to its available area, determined by the ...
0
votes
1
answer
827
views
C# winui 3 route event from component control to parent custom control
Using C# winui 3 (.NET 6), I have written a custom control CommonButtonControl made up of a Button containing an Image and a TextBlock. The idea is that I can keep a consistent look and feel for all ...
0
votes
1
answer
84
views
ASCX User control not showing up
I'm adding a reports section to an existing web app. The section consists of two pages that get loaded through two different .ascx files. I'm not allowed to modify any of the internal logic as to how ...
-1
votes
1
answer
37
views
WPF Custom Control with buttons
I have created a WPF custom control for my application. I am now struggling to wire up the events for some of the controls in the control (ToggleButtons).
I have defined the following:
WindowHeader....
0
votes
0
answers
15
views
Finding which customtextbox sends the message to customdatagridview
I have a customtextbox and a customdatagridview . the customtextbox on its OnKeyDown event behaving as tab and on its back key behaving as reverse tab respectively . Now on my customdatagridview's ...
0
votes
1
answer
329
views
Enter key as tab not working properly in datagridview
i have created a custom datagridview and trying to move my cell to the right when i presses enter key (instead of going to down on pressing enter key ) but i found that i have to press enter twice to ...
1
vote
0
answers
68
views
Custom combobox control ignores first tab key press
I have a very simple custom control based on the combobox control, that just adds the ability to provide a prompt for the user and adjust the color of the prompt text. It works well, except that if I ...
-1
votes
2
answers
274
views
How do I prevent the SelectedIndex of a ComboBox from changing?
I am looking for an event where I can prevent the SelecteIndex property of a ComboBox from being set.
Maybe also a self created event named "SelectedIndexChanging".
I need this to stop the ...