How to Edit Jump Style in LongListSelector Window Phone 8 and Blend 2012 -
I'm trying to use Blend 2012 to edit the root list area that you can now use in long lists. has been made.
I had no problem doing this with the Windows Phone Toolkit, but now I have a big problem.
I have a copy of the template I try to make it and then see it
I have no clue what to do next. I want to add a text block and style to it Looks like a jump menu style.
It seems that the blend is a template
Instead of a style
.
The value here is an example JumpListStyle
which can be used ...
& lt; phone: LongListSelector.JumpListStyle & gt; & lt; Style Targe TType = "Phone: Longlist Selector" & gt; Setter property = "grid cell size" value = "113,113" /> gt; Setter property = "layout mode" value = "grid" /> Lt; Setter Property = "Item Template"> Setter.Value & gt; DataTemplate & gt; & lt; border background = "{binding converter = {static resource background converter}}" width = "113 "Height =" 113 "margin =" 6 "> TextBlock Text =" {binding key} "FontSize =" 42 "padding =" 6 "foreground =" {binding converter = {static resource foreground converter}} "Vertical alignment =" center "/> & Lt; / Border & gt; & Lt; / DataTemplate & gt; & Lt; /Setter.Value> & Lt; / Setter & gt; & Lt; / Style & gt; & Lt; / Phone: LongListSelector.JumpListStyle & gt;
You need references to foreground converter
and BackgroundConverter
. I put it in App.xaml so that the style is compatible in the whole app.
& lt; Phone: JumpListItemBackgroundConverter x: Key = "BackgroundConverter" disabled = "{StaticResource MyThemeFGColor}" enabled = "{static resource methimm ect caller}" /> & Lt; Phone: JumpListItemForegroundConverter x: key = "foreground converter" disabled = "{StaticResource MyThemeFGColor}" enabled = "{StaticResource MyThemeBGColor}" />
Comments
Post a Comment