Click here to Skip to main content
15,911,531 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF Editable ComboBox In GridView Pin
Kevin Marois4-Nov-11 8:49
professionalKevin Marois4-Nov-11 8:49 
GeneralRe: WPF Editable ComboBox In GridView Pin
SledgeHammer014-Nov-11 8:55
SledgeHammer014-Nov-11 8:55 
GeneralRe: WPF Editable ComboBox In GridView Pin
Kevin Marois4-Nov-11 9:01
professionalKevin Marois4-Nov-11 9:01 
GeneralRe: WPF Editable ComboBox In GridView Pin
SledgeHammer014-Nov-11 10:34
SledgeHammer014-Nov-11 10:34 
GeneralRe: WPF Editable ComboBox In GridView Pin
Kevin Marois6-Nov-11 7:02
professionalKevin Marois6-Nov-11 7:02 
GeneralRe: WPF Editable ComboBox In GridView Pin
SledgeHammer017-Nov-11 6:46
SledgeHammer017-Nov-11 6:46 
AnswerRe: WPF Editable ComboBox In GridView Pin
Abhinav S3-Nov-11 17:13
Abhinav S3-Nov-11 17:13 
QuestionColumnDefinition MinWidth=744 Pin
indian1432-Nov-11 14:57
indian1432-Nov-11 14:57 
Hi All,

I have a parent grid in one xaml file in which we are loading the different regions. For that grid the column definitions are defined in the following way
<Grid.ColumnDefinitions>
                <ColumnDefinition Width="10" />
                <ColumnDefinition MinWidth="744" Width="*"  />           
               <ColumnDefinition Width="10" />
            </Grid.ColumnDefinitions>
in the second column we are loading a different user control, is there any way to get the MinWidth=744 value in the child user control dynamically through code.

I want to get that value what we set here in the user control which will be loaded in that second column. I have hard coded it but I want to use it in the following way in a different user control (means different xaml file)

if (assignmentOperator.ActualWidth > 744) //Checks if the LayoutGrid size is >= to 744 
            {
                double temp = gridFilterCriteria.ActualWidth; //Assigns gridFilterCriteria.ActualWidth to temp value
                this.textBlockCriteria.Width = temp * (0.99);//                                        
            }


here instead of 744 I want to set this if condition dynamically like
if (assignmentOperator.ActualWidth > <here i="" want="" some="" property="" which="" would="" give="" me="" this="" value="">)

can anybody help me please, I need it friends. Please help me yaar.
Thanks & Regards,

Abdul Aleem Mohammad
St Louis MO - USA

AnswerRe: ColumnDefinition MinWidth=744 Pin
Abhinav S2-Nov-11 18:04
Abhinav S2-Nov-11 18:04 
QuestionTrying To Shutdown WPF App - Application.Current is null Pin
Kevin Marois2-Nov-11 6:55
professionalKevin Marois2-Nov-11 6:55 
AnswerRe: Trying To Shutdown WPF App - Application.Current is null Pin
SledgeHammer012-Nov-11 7:49
SledgeHammer012-Nov-11 7:49 
GeneralRe: Trying To Shutdown WPF App - Application.Current is null Pin
Kevin Marois2-Nov-11 8:38
professionalKevin Marois2-Nov-11 8:38 
GeneralRe: Trying To Shutdown WPF App - Application.Current is null Pin
SledgeHammer012-Nov-11 8:47
SledgeHammer012-Nov-11 8:47 
AnswerRe: Trying To Shutdown WPF App - Application.Current is null Pin
Pete O'Hanlon2-Nov-11 8:52
mvePete O'Hanlon2-Nov-11 8:52 
QuestionIs there an existing Color-picker in WPF/Silverlight ? Pin
Loveisasea2-Nov-11 5:22
Loveisasea2-Nov-11 5:22 
AnswerRe: Is there an existing Color-picker in WPF/Silverlight ? Pin
Mark Salsbery2-Nov-11 5:25
Mark Salsbery2-Nov-11 5:25 
AnswerRe: Is there an existing Color-picker in WPF/Silverlight ? Pin
Pete O'Hanlon2-Nov-11 5:28
mvePete O'Hanlon2-Nov-11 5:28 
AnswerRe: Is there an existing Color-picker in WPF/Silverlight ? Pin
Abhinav S2-Nov-11 18:13
Abhinav S2-Nov-11 18:13 
QuestionItems collection must be empty before using ItemsSource. Pin
jhoga2-Nov-11 4:39
jhoga2-Nov-11 4:39 
AnswerRe: Items collection must be empty before using ItemsSource. Pin
Mark Salsbery2-Nov-11 5:23
Mark Salsbery2-Nov-11 5:23 
GeneralRe: Items collection must be empty before using ItemsSource. Pin
jhoga2-Nov-11 5:52
jhoga2-Nov-11 5:52 
GeneralRe: Items collection must be empty before using ItemsSource. Pin
Mark Salsbery2-Nov-11 7:06
Mark Salsbery2-Nov-11 7:06 
GeneralRe: Items collection must be empty before using ItemsSource. Pin
jhoga2-Nov-11 8:57
jhoga2-Nov-11 8:57 
QuestionHow to make listbox list items in horizontal Pin
Loveisasea1-Nov-11 19:47
Loveisasea1-Nov-11 19:47 
AnswerRe: How to make listbox list items in horizontal Pin
Abhinav S1-Nov-11 19:56
Abhinav S1-Nov-11 19:56 

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.