Skip to main content

Questions tagged [custom-controls]

A custom control is a reusable GUI element, derived from an existing control type, customized with additional behavior, functionality and/or appearance.

custom-controls
1 vote
1 answer
77 views

How to set the alignment and font in a custom textbox on edit mode

The custom textbox displays the text as expected when not on edit mode, how to show the text vertically centered, with same font and not overlapped in edit mode? The textbox must allow set the height ...
armadillo.mx's user avatar
0 votes
1 answer
127 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&...
sky_haha's user avatar
0 votes
0 answers
47 views

Resource Dictionary for ToggleSwitch custom control not loading

I wanted to style the checkbox on a WPF window (used as a form in a VSTO Excel addin) like an iOS switch. I found some code here and made a few adjustments. I'll be adding a class to manage a few ...
d365b's user avatar
  • 21
1 vote
1 answer
102 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 ...
GooseZA's user avatar
  • 1,107
1 vote
0 answers
71 views

.NET 8 in Winforms removes code in designer.cs, how to avoid this? [duplicate]

We have a Winforms project upgraded to .NET 8. The conversion had only a few problems that where easily fixed, so we continued on this path. However, now I found a problem that I suspect is a bug in ...
GuidoG's user avatar
  • 11.8k
0 votes
0 answers
9 views

Set DataContext in a custom control

I'm trying to set the DataContext in a CustomControl, but the namespace I declared where the ViewModels are stored is not available in the code. These are steps I've done: I set the namespace where ...
Christian Ofria's user avatar
0 votes
1 answer
55 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 = ...
theBastian's user avatar
0 votes
0 answers
72 views

Custom Controls Not Working in Fullscreen Mode for React Native Video Player

Description: We're using React Native and a video player component. The player has custom controls implemented, but we're encountering an issue with the controls not functioning as expected in ...
Bruno Raphael Rocha's user avatar
-1 votes
1 answer
46 views

Binding not working when Custom Control is used in a DataGridTemplateColumn

My charge is to provide a control that can be used to select multiple items from a list of items. The items are classification tags. The object is a Tag. It has three properties (ID, Name, ...
John Hard's user avatar
0 votes
0 answers
173 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 ...
Skyraider's user avatar
1 vote
1 answer
125 views

Drawing over resized control

I am implementing a screenshot in my application, with the user being able to select which part will be captured, for this purpose, i created a control to overlay a Picturebox using the example ...
Luiz's user avatar
  • 55
1 vote
1 answer
183 views

Angular custom control onChange not working properly

I have built a dynamic form with standart 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 ...
Eagle's user avatar
  • 1,052
0 votes
0 answers
29 views

Background color covers text in custom control Visual Studios

I have been having an issue for a while. I created a custom control based on a textbox in Visual Studios. I am trying to get the background to change color based on the text in the custom control. I ...
D Phillips's user avatar
0 votes
1 answer
42 views

WPF: Why is callback function not called with binding mode OneWay?

I have create a custom control with some properties, all seems to work as excepted. But after some tests, I found a strange behavior which I don't understand. When I bind the property in OneWay mode, ...
KroMignon's user avatar
0 votes
0 answers
38 views

Creating a custom control without changing the parent template

I read several topics and discussions on this issue, but I could not decide which implementation option is optimal. Initial conditions (example for clarification): Created a new solution "WPF ....
EldHasp's user avatar
  • 7,328

15 30 50 per page
1
2 3 4 5
��
281