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.

Depending on the platform, language, framework and purpose, custom controls are likely to be installed in a GUI designer for ease of use.

Some languages or frameworks (e.g. ) might have specific meanings to the term "custom control" or might provide specific features or capabilities for a custom control instance that are not applicable to base controls.

Custom controls can be self written or found in a lot of frameworks.

4201 questions
1
vote
1 answer

Painting ComboBox DropDown arrow on DataGridViewCell

What I want is when the mouse moves over a DataGridViewCell, I want to identify the cell under the mouse, and draw a ComboBox DownArrow on it. When the mouse moves off the cell, I want just the "normal" cell to be drawn. I figured that I need to…
ainwood
  • 992
  • 7
  • 17
1
vote
1 answer

Scroll to given jCarousel slide on page load

Hello stackoverflow contributors! I have this script that gets the starting position of my jCarousel through the browser URL's hash. Something like text.html#2. What am trying to achieve is make jCarousel scroll to the given position on page load.…
James Wong
  • 4,529
  • 4
  • 48
  • 65
1
vote
0 answers

How to invoke a signal from a custom widget at runtime

We have a custom widget plugin, lets say myprogressbar. We have an exe. The exe has a dialog.ui file which has the custom plugin. We use quiloader to load the file at runtime, which loads the custom plugin. I have verified that, the constructor of…
chai
  • 1,483
  • 5
  • 21
  • 30
1
vote
1 answer

Disable drag on Google Map Javascript custom controls

I want to create a Google map custom control using the Javascript API. The control is an 'add waypoint' button. The user is supposed to be able to drag from the control, causing a marker to appear at the mouse pointer, and drop this marker on to…
Sky_Paladin
  • 103
  • 1
  • 9
1
vote
1 answer

UWP programmatically adding custom controls: data not showing

I have created a custom control called ItemControl in my UWP application. The control's XAML:
Eutherpy
  • 4,471
  • 7
  • 40
  • 64
1
vote
1 answer

Load .xaml file and edit object tree at runtime

After reading into XamlWriter and XamlReader, I was wondering if it is possible to load an arbitrary .xaml file at runtime, edit the object tree and then reuse it again. What I am trying to create is a kind of showcase application for all available…
tobi_fis
  • 55
  • 6
1
vote
1 answer

Add a Custom Control reference in VS10

I recently created my first custom control. I attempted to add it in a separate project I have constructed. I recieve this error: The type 'System.Windows.Controls.Control' is defined in an assembly that is not referenced. You must add a…
dan_vitch
  • 4,477
  • 12
  • 46
  • 69
1
vote
1 answer

How to register custom control in Dotnetnuke 8

I have created a class file with content: namespace Controls { public class RadioButtonListCustomer : RadioButtonList { protected override void RenderItem(System.Web.UI.WebControls.ListItemType itemType, int repeatIndex,…
M. Rashford
  • 121
  • 1
  • 12
1
vote
2 answers

Windows Media Player Styled ListView

Hi I'm working on a project and I'd like to have large image displayed on the left and a regular list on the left, akin to Windows Media Player's ListView in Album mode. (see image below) Does anyone know of where I can get a control that does this…
Alex Essilfie
  • 12,339
  • 9
  • 70
  • 108
1
vote
1 answer

android custom text view can not be added in layout file

I have created a custom text view just to solve the problem in my previous question I have gone through many tutorials and many samples. I have created a custom text view but it can not be added into any layout file. It just throws an error on…
Prasham
  • 6,646
  • 8
  • 38
  • 55
1
vote
1 answer

Passing selector via IBInspectable in Swift 3

I created a custom control and I want to pass the action in an @IBInspectable property to achieve the same effect of setting up an @IBAction using UIButton. How should I go about doing this? class MyControl: UIButton { // Problem with this string…
Boon
  • 40,656
  • 60
  • 209
  • 315
1
vote
1 answer

Xamarin Forms Custom Control and Bindable properties not working as expected

I made a custom control called ImageButton that allows me to set a different image for Up, Down, and Inactive states. It can also operate in "normal" mode or in "latched" mode. It works fine except for one small piece ... the values I set in the…
jo phul
  • 639
  • 1
  • 9
  • 29
1
vote
1 answer

My Custom Dropdownlist does not have a value for Selected Index on submit

I'm creating a custom Dropdownlist in C# that will look nicer. I'm writing out a "ul" with each item as an "li" and having jQuery detect the click and update the actual select, which I render with a class that hides it. I don't know what I'm doing…
John Pasquet
  • 1,824
  • 15
  • 20
1
vote
1 answer

Z Ordering Controls, collision detection on top and bottom of control

I'm working on creating controls in pygame (button and label are the only ones done, as well as setting a tooltip for the control). I'm drawing the controls in the correct Z order but I'm trying to detect that the mouse is not over another control,…
Siver
  • 67
  • 1
  • 11
1
vote
0 answers

Graphics.DrawIcon() method displays mirror image of the icon when RTL is enabled

I need to create a custom form that resembles the look and feel of the Microsoft Form. Currently I am working on form icon customization. I have used the below code to draw the icon. if (form.ShowIcon) { int x = 10,y = 10; …
1 2 3
99
100