I would like to center the icon in one of my columns. The way I currently add icons is by calling the AddIconToSubitem method after the row has been created. How would I modify my custom control to also center the icon?
Thanks
Public Class ListViewSubIcons : Inherits System.Windows.Forms.ListView
Public Declare Function SendMes...
I'm building a custom control in Silverlight and I want one of the fields to animate to the value of a DependencyProperty when that property is changed. More specifically, I have particular item in my Control Template that I want to animate to the color of the Background whenever the background changes color. So, what I have is:
<Contro...
How do you create your own custom component for vb.net 2008? I want it to simply output to a .dll, not a whole winforms app.
So, here is what I have done so far:
Made a class library project
Added a custom control object
Confused myself badly
Googled it, to no avail
How can I control the component? For example, I want my component t...
Sitution: Newbie with interface for a music app. I have 2 large images, one the master 'up' or normal view, the other the complete 'down' view. (Buttons all pressed, lit, etc, LED's on, etc). Might have a couple smaller images as well to copy over.
In Carbon, and old Mac OS, I would load up 2 GWorlds with each image, then use Copybits t...
Let's say I have a custom template control, that can be used in pages like so:
<AR:CustomControl runat="server">
<ViewTemplate>
<span>stuff</span>
</ViewTemplate>
</AR:ModalLink>
Since there is only one template field, the element isn't really necessary. Is there a way I can edit my control so it can be used like?
<...
ASP.Net 3.5
I want to create a user control that contains the ListView and DataPager controls along with some custom code in the ItemDataBound that is generic and deals with UI styling.
Ideally, when the developer uses this control, I would like to retain editor support so they can select a datasource, add/remove columns, etc...
Is ...
I'm trying to modify the default graph viewer of the Graph# library because its user interface is awful (just try dragging a node outside of the boundaries, you'll see!)
The basic setup is this: there is a GraphCanvas control (inherited from Panel) which has children of Vertex and Edge control types. What I want to achieve is:
GraphCa...
I want to know complete life cycle of gridview control (control's life cycle) in context with the page life cycle.
What all events are fired. How the data gets bind (i mean which events are internally fired and when are they fired).
Actually i am looking to create the repository of complex custom controls (required in day to day life)....
We have been asked to test a .NET Application developed using DevComponents DotNetBar controls using automated testing tools. This is a WinForms application using Ribbon, TabStrip etc. controls from the DotNetBar suite.
I tried automating this application using Microsoft UI Automation Library and the White Framework, but no success. Ha...
I have a custom control which inherits from System.Web.UI.Control and some of its properties can be declaratively set using databinding expressions. e.g.
<foo:Foo runat="server" MyFoo="<%# this.GetFoo() %>" />
Now, when I do that I need to call .DataBind() on the control (or one of its parents) to evaluate these expressions.
What I w...
Hi
I'm having a problem creating a new CompositeControl.
Currently I have a custom control that inherits from TextBox, the control DOES NOT have the Style property defined, but I can set the property in the page Markup and the style will be applied correctly.
I'm trying to create a CompositeControl with the same functionality as the c...
I think I might know the cause, but not how to fix it without a lot of code rewriting(which I prefer to avoid).
I have
public class datecontrol : basecontrol
{
private ImageButton _ImageButton;
private TextBox _EditControl;
private CalendarExtender _CalendarExtender;
....
public datecontrol{
_ImageButton=new ImageBut...
I want to create a RichTextField at the bottom half of the screen, while I paint my own custom graphics at the top half of the screen. Is that possible in BlackBerry? It tried defining a LayoutManager and trying to position the RichTextField at the bottom of the screen but the RichTextField, scroll through the entire screen. This is the ...
I'd like to design a custom control which can be used as a container like other Layout controls. I want this control to have a dependency property named Header which can display header for this control. Basic intention is to imitate looks of portlet control available in Sharepoint etc. with configurable headers.
Any links, suggestions, ...
I am creating a custom control, constisting of DataGridView, a few additional buttons and useful functions.
For user of the control to be able editing grid's columns I added Columns property of type DataGridViewColumnCollection.
Now it's possible to edit columns through Property Editor (clicking by a small button near Columns prope...
I'm developing a custom control with it's own style and script block inside the ascx-file.
All works fine, but if I use my control inside my aspx-page more the once, the script and style blocks are also repeated.
How to avoid this?
...
Hello!
I'm using the RoundRect GDI function to draw a rounded rectangle following this example: .NET CF Custom Control: RoundedGroupBox
Because all controls are square, it also draw the corners outside of the rounded rectangle. How can I make this space left outside the rectangle transparent?
The OnPaint method is:
protected override...
I am trying to design a Blackberry Application and I am wondering if there are any resources on how to create custom user interface elements, skin existing ones and what other possibilities are there?
I have developed a few iPhone applications with custom UI and stuff, so not sure what BB world offers in terms of UI development.
Any ti...
I'm trying to create a diagramming application in C# / WPF. What I going for is somewhat similar to Microsoft Visio although I'm not trying to clone it. I kind of wrote this question as I was coding and just put all the issues I had into it in case someone will find it useful. Maybe I've been thinking too hard but I feel like I could thr...
When I use my own line images for customizing the look and feel of the treeview control, there appears to be a rendering problem in the table row that creates the "I" line. The Lminus, Lplus, R etc line rows all gets rendered without a problem, but for some reason the "I" line gets rendered inside a div tag as follows:
<td>
<div style="...