Click here to Skip to main content
16,006,065 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Can we have any website for wpf UI development like http://www.microsoft.com/design/toolbox ? Pin
Mycroft Holmes4-Apr-12 14:33
professionalMycroft Holmes4-Apr-12 14:33 
QuestionStill slightly struggling with Binding Pin
Sutton Mehaffey4-Apr-12 5:18
Sutton Mehaffey4-Apr-12 5:18 
AnswerRe: Still slightly struggling with Binding Pin
Pete O'Hanlon4-Apr-12 5:46
mvePete O'Hanlon4-Apr-12 5:46 
GeneralRe: Still slightly struggling with Binding Pin
Sutton Mehaffey4-Apr-12 7:33
Sutton Mehaffey4-Apr-12 7:33 
GeneralRe: Still slightly struggling with Binding Pin
Pete O'Hanlon4-Apr-12 22:53
mvePete O'Hanlon4-Apr-12 22:53 
GeneralRe: Still slightly struggling with Binding Pin
Sutton Mehaffey5-Apr-12 9:02
Sutton Mehaffey5-Apr-12 9:02 
GeneralRe: Still slightly struggling with Binding Pin
Pete O'Hanlon6-Apr-12 2:55
mvePete O'Hanlon6-Apr-12 2:55 
GeneralRe: Still slightly struggling with Binding Pin
Sutton Mehaffey6-Apr-12 4:45
Sutton Mehaffey6-Apr-12 4:45 
HorizontalAlignment is not a property that can be used with DataGridCheckBoxColumn.

The TextBox approach with DataGridTemplateColumn worked sortof. Except, it doesn't fill the TextBox with the Binding List until you double click to edit the box. Then, it fills it in properly. How do you get it filled in in prior to entering edit mode?


HTML
<DataGrid.Columns>
     <DataGridTextColumn 
         Header = "Zone #" 
         Width = "SizeToHeader" 
         Binding = "{Binding ZoneNum}" 
         IsReadOnly="true"/>

     <DataGridTemplateColumn Header="Zone Description Text" Width="*">
         <DataGridTemplateColumn.CellEditingTemplate>
             <DataTemplate>
                 <TextBox Text ="{Binding ZoneDesc}" MaxLength="25"/>
             </DataTemplate>
         </DataGridTemplateColumn.CellEditingTemplate>
     </DataGridTemplateColumn>
</DataGrid.Columns>



C#
for (byte i = 0; i < 64; i++)
{
   zdentry.Add(new ZoneDescEntry()
   {
       ZoneNum = "Zone "+(i+1),
       ZoneDesc = GlobalVars.User_Parameters.zonedescrip[i]   // string
   });
}
ZoneDescTable.ItemsSource = zdentry;

public class ZoneDescEntry
{
   public string ZoneNum { get; set; }
   public string ZoneDesc { get; set; }
}

GeneralRe: Still slightly struggling with Binding Pin
Sutton Mehaffey4-Apr-12 10:03
Sutton Mehaffey4-Apr-12 10:03 
QuestionCreating User Control in WPF Pin
MemberDotNetting4-Apr-12 1:09
MemberDotNetting4-Apr-12 1:09 
Questionremote desktop via wp7 Pin
heba abu ghaleih22 3-Apr-12 22:36
heba abu ghaleih22 3-Apr-12 22:36 
AnswerRe: remote desktop via wp7 Pin
Pete O'Hanlon3-Apr-12 22:50
mvePete O'Hanlon3-Apr-12 22:50 
GeneralRe: remote desktop via wp7 Pin
heba abu ghaleih22 3-Apr-12 22:58
heba abu ghaleih22 3-Apr-12 22:58 
GeneralRe: remote desktop via wp7 Pin
Pete O'Hanlon3-Apr-12 23:08
mvePete O'Hanlon3-Apr-12 23:08 
GeneralRe: remote desktop via wp7 Pin
heba abu ghaleih22 3-Apr-12 23:36
heba abu ghaleih22 3-Apr-12 23:36 
GeneralRe: remote desktop via wp7 Pin
Pete O'Hanlon3-Apr-12 23:42
mvePete O'Hanlon3-Apr-12 23:42 
GeneralRe: remote desktop via wp7 Pin
heba abu ghaleih22 4-Apr-12 0:08
heba abu ghaleih22 4-Apr-12 0:08 
GeneralRe: remote desktop via wp7 Pin
Pete O'Hanlon4-Apr-12 0:27
mvePete O'Hanlon4-Apr-12 0:27 
QuestionDataGrid adds additional unnecessary row Pin
Mahesha9993-Apr-12 5:16
Mahesha9993-Apr-12 5:16 
AnswerRe: DataGrid adds additional unnecessary row Pin
Mahesha9993-Apr-12 5:22
Mahesha9993-Apr-12 5:22 
AnswerRe: DataGrid adds additional unnecessary row Pin
RobCroll3-Apr-12 5:42
RobCroll3-Apr-12 5:42 
Questionwpf controls Pin
MemberDotNetting2-Apr-12 15:41
MemberDotNetting2-Apr-12 15:41 
QuestionRe: wpf controls Pin
Richard MacCutchan2-Apr-12 21:39
mveRichard MacCutchan2-Apr-12 21:39 
AnswerRe: wpf controls Pin
Abhinav S3-Apr-12 6:42
Abhinav S3-Apr-12 6:42 
QuestionGet a Model event in the ViewModel Pin
Mycroft Holmes29-Mar-12 23:38
professionalMycroft Holmes29-Mar-12 23:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.