473,395 Members | 2,006 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How can I apply a style from resources to a checkbox within a DataGridCheckBoxColumn?

Expand|Select|Wrap|Line Numbers
  1. <tk:DataGrid.Columns>
  2.     <tk:DataGridTextColumn Header="Event ID" Binding="{Binding ID}" MinWidth="50" IsReadOnly="True" />
  3.     <tk:DataGridTextColumn Header="Name" Binding="{Binding Name}" MinWidth="200" Width="*" />
  4.     <tk:DataGridCheckBoxColumn Header="Audio" Binding="{Binding FrontAudioEnabled}" />
  5.     <tk:DataGridTemplateColumn Header="In Point" MinWidth="100">
  6.         <tk:DataGridTemplateColumn.CellTemplate>
  7.             <DataTemplate>
Dec 9 '10 #1
0 1401

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Harry Pehkonen | last post by:
I have been defining new class methods when I'm trying to simplify some code. But I'm thinking I should just define functions within that method because they aren't useful from the outside anyway....
3
by: benjamin | last post by:
A pygame/python game resource question ###################################### I wander whether there is any possibility to compile a bunch of resources for a program, like images and soundfiles...
3
by: Waffeloo | last post by:
Hi, I would like an event to trigger a change the style of all the elements that belong to some CSS class. I know it is possible to change the class of an element, for example with: <script...
2
by: Hardy Wang | last post by:
Hi, I have a PlaceHolder control, I need to dynamic render a HTML table to add to this place holder. One requirement of this table is, I need style like below <table style="margin-left: 5;"> ...
1
by: Hardy Wang | last post by:
Hi all, I have a drop down list with some items, and one of the item contains very long text. I want to limit the width of the drop down itself, but when I click down arrow to pull down the...
0
by: Keith | last post by:
I have a repeater control that contains a HeaderTemplate and an ItemTemplate. Each item contains a checkbox with an ID of chkReconciled, and the header contains a single checkbox with an ID of...
3
by: =?Utf-8?B?RG91Z0U=?= | last post by:
Yes the groupbox is enabled and the checkbox is enabled. Using the click event does nothing to fire checkbox1.enable = false. the checkbox remains enabled, and the user can uncheck it. This is...
2
by: zigerati | last post by:
New to programming and am struggling on the following: I've got a repeater that dynamically creates a series of questions. The questions come from a database and can be either answertype 1 or 2...
4
by: Zoubidoo | last post by:
Many applications require a high-speed interface such as supermarket checkouts, busy points of sale, doctors' surgeries etc. The problem with graphical interfaces is that they are too slow for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.