Skip to main content

All Questions

Tagged with
0 votes
0 answers
35 views

Controls from external library not appearing in Telerik project

I'm working on a project that uses Telerik WPF controls (in so called NoXaml mode) and I have a library with controls I would like to use. These are simple WPF UserControls without even any template ...
P.W.'s user avatar
  • 677
0 votes
1 answer
87 views

Is possible to have a different tag name in winui 3 user control?

Is it possible to have a different tag name fo my user control? My class looks like: public sealed partial class ValidationControl : UserControl { ... } and used like this: <controls:...
cflorenciav's user avatar
0 votes
1 answer
320 views

How to make disabled control allow to be draggable or move by mouse?

I use dragging control by mouse Problem is if Control.Enabled = false. Dragging can't work? Is there any method to overload to prevent this behavior? static void control_MouseEnter(object sender, ...
user avatar
0 votes
0 answers
45 views

Control flickers while its location is continuously changed

I have a button inside a form. The button moves horizontally from one point to another by continuously varying the Button.Location.X from 0 to 1000 using a timer. See code below. Timer1.Interval = ...
Somanna's user avatar
  • 296
0 votes
0 answers
39 views

Why is Control.Location clamped to Point(32767, 32767) in Windows Forms [duplicate]

I'm writing an application with a document style interface similar to MS Word. The problem is with the document viewer portion of the app. Basically it is a custom Panel control with each page in the ...
drankin2112's user avatar
  • 4,764
0 votes
2 answers
64 views

How to convert a UserControl into control

I've created a program with a Panel, with a button I can add a UserControl in to the Panel. The UserControl contains only a ComboList What I would like to do is to get all the UserControl in my Panel ...
user12404703's user avatar
1 vote
1 answer
77 views

My code about creating label dynamically in a loop don't work, only one appear

I'm creating an application, where for each Char in a txt file (where some text is written), a label containing one char letter from the txt is created and written. In the txt file, "Hello" is ...
Chris's user avatar
  • 25
0 votes
2 answers
892 views

Binding data to controls in a Repeating user control with c#/WinForms

I am working on WinForms UI and we have a requirement where we need to add repeating controls dynamically. I managed to create a UserControl with all labels and text boxes and adding them like this: ...
SG1's user avatar
  • 3
0 votes
1 answer
381 views

Trouble with checking type of user control

I have a group of ComboBoxs that I am looking to bind to a datasource. There are going to be upwards of 200 ComboBoxs all being bound to the same source and so I am looking at doing this using a loop ...
Matt Bartlett's user avatar
0 votes
1 answer
46 views

Find nested Control inside a user control

Hi I have a panel that contains a usercontrol that contains a repeater that can have one or more checkboxes. I want to get status of all check boxes that currently are in the panel. My current code ...
Samra's user avatar
  • 1,975
0 votes
1 answer
53 views

Calling an event for control on an inactive tab results in an exception

There is a control that has animation DoubleAnimationUsingPath, the animation is triggered by the event RoutedEvent = "ui:CheckBoxProgressCircle.Check" <EventTrigger RoutedEvent="ui:...
Astrey Rize's user avatar
-1 votes
1 answer
126 views

Binding click events of all UserControl's controls to single event on parent Control

I am trying to implement an event handler for my user control that triggers a click whenever any control inside the user control or the user control itself is clicked. public event EventHandler ...
Aishwarya Shiva's user avatar
0 votes
0 answers
233 views

ASP DateTimeControl with months and years only

In Windows you can display the Calendar in (MMMM yyyy) format. I would like my <asp:DateTimeControl> to do the same. I found the DateOnly property to remove the hour/min/sec from the Date, ...
Ythio Csi's user avatar
  • 379
0 votes
0 answers
376 views

C# - why is my custom control not visible

I'm looking for some help on as to why my custom/user control is not visible. code where I add my control: ctlMapIcon mapIcon = new ctlMapIcon(); mapIcon.Name = "name"; mapIcon....
Paul Alexander's user avatar
0 votes
0 answers
602 views

Update control in another UserControl C# WPF

I currently am using an click event to save file data (via Background worker) inside a UserControl which at each step updates a control in the main window which is working well and gets the update ...
BENN1TH's user avatar
  • 2,023

15 30 50 per page
1
2 3 4 5
9