Click here to Skip to main content
15,901,505 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Resource Dictionaries - Confused Pin
Mark Salsbery12-May-09 9:46
Mark Salsbery12-May-09 9:46 
GeneralRe: Resource Dictionaries - Confused Pin
#realJSOP12-May-09 10:36
professional#realJSOP12-May-09 10:36 
GeneralRe: Resource Dictionaries - Confused [modified] Pin
#realJSOP12-May-09 9:02
professional#realJSOP12-May-09 9:02 
QuestionWPF SideBar Pin
GomathiR11-May-09 23:01
GomathiR11-May-09 23:01 
AnswerRe: WPF SideBar Pin
Mark Salsbery12-May-09 7:19
Mark Salsbery12-May-09 7:19 
Questionconvert byte[] to BitmabImage Pin
amer shammout11-May-09 21:56
amer shammout11-May-09 21:56 
AnswerRe: convert byte[] to BitmabImage Pin
KarstenK11-May-09 22:10
mveKarstenK11-May-09 22:10 
GeneralRe: convert byte[] to BitmabImage Pin
califax2k12-May-09 0:43
califax2k12-May-09 0:43 
AnswerRe: convert byte[] to BitmabImage Pin
Pete O'Hanlon12-May-09 1:31
mvePete O'Hanlon12-May-09 1:31 
GeneralRe: convert byte[] to BitmabImage Pin
califax2k12-May-09 2:19
califax2k12-May-09 2:19 
GeneralRe: convert byte[] to BitmabImage Pin
Pete O'Hanlon12-May-09 2:35
mvePete O'Hanlon12-May-09 2:35 
AnswerRe: convert byte[] to BitmabImage Pin
morishuz18-Aug-10 6:35
morishuz18-Aug-10 6:35 
QuestionHow can I be notified when Windows XP fades the screen to gray? Pin
CooperWu11-May-09 21:03
CooperWu11-May-09 21:03 
AnswerRe: How can I be notified when Windows XP fades the screen to gray? Pin
Pete O'Hanlon12-May-09 2:19
mvePete O'Hanlon12-May-09 2:19 
GeneralRe: How can I be notified when Windows XP fades the screen to gray? Pin
CooperWu12-May-09 16:29
CooperWu12-May-09 16:29 
Questionhow to reduce CPU usage of WPF application? Pin
CooperWu11-May-09 20:59
CooperWu11-May-09 20:59 
AnswerRe: how to reduce CPU usage of WPF application? Pin
sivaddrahcir19-May-09 8:09
sivaddrahcir19-May-09 8:09 
QuestionForce a WPF control to refresh? Pin
CooperWu11-May-09 20:41
CooperWu11-May-09 20:41 
AnswerRe: Force a WPF control to refresh? Pin
Niladri_Biswas17-Jun-09 21:20
Niladri_Biswas17-Jun-09 21:20 
GeneralRe: Force a WPF control to refresh? Pin
Jasmine Pomelo24-Sep-09 6:10
Jasmine Pomelo24-Sep-09 6:10 
QuestionStyling a ScrollViewer? Pin
mildred-frontfree11-May-09 18:30
mildred-frontfree11-May-09 18:30 
In MSDN there is a demo about styling scrollviewer.

<ControlTemplate x:Key="VerticalScrollBar" TargetType="{x:Type ScrollBar}">
<Grid >
<Grid.RowDefinitions>
<RowDefinition MaxHeight="18"/>
<RowDefinition Height="0.00001*"/>
<RowDefinition MaxHeight="18"/>
</Grid.RowDefinitions>
<Border
Grid.RowSpan="3"
CornerRadius="2"
Background="#F0F0F0" />
<RepeatButton
Grid.Row="0"
Style="{StaticResource ScrollBarLineButton}"
Height="18"
Command="ScrollBar.LineUpCommand"
Content="M 0 4 L 8 4 L 4 0 Z" />
<Track
Name="PART_Track"
Grid.Row="1"
IsDirectionReversed="true">
<Track.DecreaseRepeatButton>
<RepeatButton
Style="{StaticResource ScrollBarPageButton}"
Command="ScrollBar.PageUpCommand" />
</Track.DecreaseRepeatButton>
<Track.Thumb>
<Thumb
Style="{StaticResource ScrollBarThumb}"
Margin="1,0,1,0"
Background="{StaticResource HorizontalNormalBrush}"
BorderBrush="{StaticResource HorizontalNormalBorderBrush}" />
</Track.Thumb>
<Track.IncreaseRepeatButton>
<RepeatButton
Style="{StaticResource ScrollBarPageButton}"
Command="ScrollBar.PageDownCommand" />
</Track.IncreaseRepeatButton>
</Track>
<RepeatButton
Grid.Row="3"
Style="{StaticResource ScrollBarLineButton}"
Height="18"
Command="ScrollBar.LineDownCommand"
Content="M 0 0 L 4 4 L 8 0 Z"/>
</Grid>
</ControlTemplate>

The code set the second row to 0.000001* and the other tow rows as 18px. Why could not I set the second row to *?
QuestionRe: Styling a ScrollViewer? Pin
Mark Salsbery12-May-09 7:03
Mark Salsbery12-May-09 7:03 
AnswerRe: Styling a ScrollViewer? Pin
mildred-frontfree12-May-09 14:50
mildred-frontfree12-May-09 14:50 
GeneralRe: Styling a ScrollViewer? Pin
Mark Salsbery12-May-09 14:53
Mark Salsbery12-May-09 14:53 
GeneralRe: Styling a ScrollViewer? Pin
mildred-frontfree12-May-09 17:37
mildred-frontfree12-May-09 17:37 

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.