Click here to Skip to main content
15,888,968 members
Home / Discussions / WPF
   

WPF

 
QuestionHide controlbox or customize controlbox of WPF window [modified] Pin
Member 26504535-Jan-10 18:34
Member 26504535-Jan-10 18:34 
QuestionDatabinding and Value Converter questions Pin
Michael Eber4-Jan-10 10:39
Michael Eber4-Jan-10 10:39 
AnswerRe: Databinding and Value Converter questions Pin
Abhinav S4-Jan-10 16:05
Abhinav S4-Jan-10 16:05 
GeneralRe: Databinding and Value Converter questions Pin
Michael Eber5-Jan-10 6:27
Michael Eber5-Jan-10 6:27 
GeneralRe: Databinding and Value Converter questions Pin
Abhinav S5-Jan-10 17:00
Abhinav S5-Jan-10 17:00 
QuestionGridSplitter Behaviour Pin
rj_hogan4-Jan-10 5:35
rj_hogan4-Jan-10 5:35 
AnswerRe: GridSplitter Behaviour Pin
Pete O'Hanlon4-Jan-10 9:25
mvePete O'Hanlon4-Jan-10 9:25 
GeneralRe: GridSplitter Behaviour Pin
rj_hogan5-Jan-10 0:46
rj_hogan5-Jan-10 0:46 
Yes, I know about the using the * for the last column but I have two points of confusion with this.

1) The first column has an absolute size but it has no issue resizing that.

2) If we are going to set the 3rd column width to * we might as well go with the default ResizeBehavior of BasedOnAlignment as we will get exactly the same behaviour - hence why I wonder if PreviousAndNext has any purpose.

(I've explicitly set the ResizeBehavior but could have omitted it as BasedOnAlignment is the default):

<Grid Name="grid1">
    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="100" />
        <ColumnDefinition Width="5"/>
        <ColumnDefinition Width="*"/>
    </Grid.ColumnDefinitions>
    <Grid.RowDefinitions>
        <RowDefinition />
        <RowDefinition />
    </Grid.RowDefinitions>
    <ListBox Name="listbox1" Grid.Column="0" SelectionChanged="listbox1_SelectionChanged"></ListBox>
    <GridSplitter  Name="gridsplitter1" Margin="0" Width="5" Grid.Column="1" Grid.RowSpan="2" ResizeBehavior="BasedOnAlignment" HorizontalAlignment="Left" VerticalAlignment="Stretch"/>
    <RichTextBox Grid.Column="2" Name="richtextbox1" />
    <TextBox Grid.Column="0" Grid.Row="1"/>
    <TextBox Grid.Column="2" Grid.Row="1"/>
</Grid>


Actually even if we use "BasedOnAlignment" but change the 3rd column back to an absolute width and set the HorizontalAlignment to "Right" it still won't resize the 3rd column, it just moves it across again. I can't see why there should be a difference in the behaviour (beyond which column is targeted) between setting the alignment to left or right.
GeneralRe: GridSplitter Behaviour Pin
Pete O'Hanlon5-Jan-10 2:16
mvePete O'Hanlon5-Jan-10 2:16 
QuestionWWF Pin
Ramkumar_S3-Jan-10 14:36
Ramkumar_S3-Jan-10 14:36 
AnswerRe: WWF Pin
ProtoBytes4-Jan-10 3:52
ProtoBytes4-Jan-10 3:52 
QuestionHow to animate To/From an Auto value? Pin
spiritboy3-Jan-10 8:04
spiritboy3-Jan-10 8:04 
AnswerRe: How to animate To/From an Auto value? Pin
Abhinav S3-Jan-10 16:39
Abhinav S3-Jan-10 16:39 
Questioncreating GridViewColumn.CellTemplate via C# ? Pin
Mohammad Dayyan2-Jan-10 23:43
Mohammad Dayyan2-Jan-10 23:43 
QuestionDynamic data binding in WPF application Pin
anishshrestha2-Jan-10 5:57
anishshrestha2-Jan-10 5:57 
AnswerRe: Dynamic data binding in WPF application Pin
Pete O'Hanlon2-Jan-10 7:06
mvePete O'Hanlon2-Jan-10 7:06 
AnswerRe: Dynamic data binding in WPF application Pin
Mark Salsbery2-Jan-10 7:13
Mark Salsbery2-Jan-10 7:13 
GeneralRe: Dynamic data binding in WPF application Pin
anishshrestha2-Jan-10 8:36
anishshrestha2-Jan-10 8:36 
QuestionResolution setting in WPF Pin
Anu_Bala31-Dec-09 18:33
Anu_Bala31-Dec-09 18:33 
AnswerRe: Resolution setting in WPF Pin
Mark Salsbery1-Jan-10 9:10
Mark Salsbery1-Jan-10 9:10 
QuestionSilverlight combobox in aspx page Pin
Shivan Nandan31-Dec-09 18:32
Shivan Nandan31-Dec-09 18:32 
AnswerRe: Silverlight combobox in aspx page Pin
Mark Salsbery1-Jan-10 9:01
Mark Salsbery1-Jan-10 9:01 
AnswerRe: Silverlight combobox in aspx page Pin
April Fans6-Jan-10 19:12
April Fans6-Jan-10 19:12 
QuestionGoogle map in wpf application Pin
vsaratkar31-Dec-09 8:16
vsaratkar31-Dec-09 8:16 
AnswerRe: Google map in wpf application Pin
Mark Salsbery31-Dec-09 13:02
Mark Salsbery31-Dec-09 13:02 

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.