I'm still somewhat new to WPF (only done a few small projects with it). I'm trying to make a repeating group of controls (user can add/remove these groups), databound to a custom class. Example UI:
([UserButton1] [UserButton2]) <--each of these () is a separate group of buttons
([Cheese] [Wine] )
([Wallace] [Gromit] ...
Hello,
are there any default exceptions where wpf controls are not focusable?
My controls need to be all focusable, but I do not want to set everytime I create a control
make focusable="true"
...
I have a general question about WPF performance. We have a relatively simple forms application. Some team members believe that redesigning the templates for basic controls will improve performance and maintainability. One preferred technique is to create multiple control templates for a control, and swap them out with triggers. The belie...
I'm using code similar to code mention at
http://www.dutch-creatives.com/post/2009/08/11/Export-ListView-to-Excel.aspx
to export Listview to excel
My listview
<asp:ListView ID="lv" runat="server">
<LayoutTemplate>
<table runat="server" id="table1" class="datatable" >
<tr class="r...
I have a CheckedListBox in my Windows forms application, but items can be added that are to wide for the control to display. Is there any way to have the text wrap to the next line when this occurs?
I know with a standard ListBox this would not work, since it would be hard to tell the difference between the second line of one item an...
Could any body explain what does this contain:
ds.Tables[0].Rows[0][0]
Thanks.
...
Hi guys,
I'm developing a form with client side validation using jQuery validation plugin.
This almost works perfect but i'm getting a problem:
The form is composed by 5 inputs.
One input requires the content of other input(that must be valid) to proceed the validation, i show one example:
$('#submitionData').validate(
{
...
I am currently working on a (Python2.5) application which handles input from a game controller. We've designated a button as a shift button to change the mapping (inputtype,value->function) of the other buttons on the fly. The mapping also depends on the mode our application is running in. We are running into lots of hairy edge cases (e....
I have a C# .NET 3.0 project that uses a TableLayoutPanel containing several rows of controls. If I scroll down such that the top item is no longer visible, then remove a control in one column and replace it with a new control, the TableLayoutPanel scrolls back to the top.
/// the panel in question
private System.Windows.Forms.TableLayo...
Hello all,
I Have a link button when clicked i want to preform an operation inside the OnPreRender method...
so how would i know if that linkbutton was clicked
say my linkbutton's name is : lnkbtn1
Thanks in advance.
Baher.
...
Please, advise me any .net gui controls library for create user interface like in Yahoo messenger or like Trillian. May be this will be easy skin-based interface library or other. I need only simple controls ex. buttons, listview combobox, checkbox and other therefore library must be small. I know DevExpress and Infragistics libraries bu...
Hi, is it possible to render the same controls with different ID property ?
<%for (int i = 0; i < 15; i++)
{%>
<asp:Label ID='Label<%=i.ToString() %>' runat="server"/>
<%}%>
here is an error: 'Label<%=i.ToString() %>' is not a valid identifier.
...
I have a code snippet as below
<CheckBox Name="cb" Margin="1,2,1,0" IsChecked="{Binding Path=IsManager}" IsEnabled="True"/>
Consider I don't know which property is bind to IsChecked property. I want to get programattically know the binding information of IsChecked property. How can do I that?
...
I need to populate a list that has 3 columns.
First: Icon Image.
Second: A string.
Third: A string.
I started to wire up a DataGridView and it seem awfully large and powerful for my needs. I am not interested in displaying data in a grid similar to a spreadsheet and I do not require all the functionality that comes with this control. I...
Im working on the following markup, inside a databound control in ASP.NET Webforms.
<asp:TemplateField HeaderText="DomainID">
<ItemTemplate>
<% for (int i = 0; i < 10; i++)
{%>
<%#Eval("DomainID"); %>
<% ++i;
} ...
Can you give me an example how to create custom composite control (in Silverlight 4) which derives directly from the FrameworkElement. Here is a mockup:
public sealed class CompositeImage : FrameworkElement
{
private readonly List<Image> images;
public CompositeImage()
{
images = new List<Image>();
images.Ad...
I have an custom control that extend System.Web.UI.UserControl. Is it possible to inherit user control from this custom control?
...
I was wondering about the difference between using a Control’s Hide() method compared to setting the Visible property to false.
When would I want to use the one over the other?
...
Hello
I'm looking for a horizontal tree view control that creates nodes in the following way -
|_______|
|
_______________________
| |
|_______| ...
Is there a way to use QT 4.6.3 visual controls with Lazarus 0.9.28.2 Beta?
How I can install the QT widgets and have them in my Controls pallete?
...