Click here to Skip to main content
15,921,660 members
Home / Discussions / WPF
   

WPF

 
QuestionRetrieve content of a Cell in WPF Grid Pin
ezazazel4-Aug-08 23:55
ezazazel4-Aug-08 23:55 
AnswerRe: Retrieve content of a Cell in WPF Grid Pin
MIHAI_MTZ5-Aug-08 2:09
MIHAI_MTZ5-Aug-08 2:09 
GeneralRe: Retrieve content of a Cell in WPF Grid Pin
ezazazel5-Aug-08 10:19
ezazazel5-Aug-08 10:19 
GeneralRe: Retrieve content of a Cell in WPF Grid Pin
MIHAI_MTZ5-Aug-08 21:46
MIHAI_MTZ5-Aug-08 21:46 
QuestionWPF Icon [modified] Pin
DocMod4-Aug-08 18:40
DocMod4-Aug-08 18:40 
AnswerRe: WPF Icon Pin
DocMod6-Aug-08 6:45
DocMod6-Aug-08 6:45 
QuestionDataTemplate "library" Pin
Spaz803-Aug-08 21:32
Spaz803-Aug-08 21:32 
AnswerRe: DataTemplate "library" Pin
Gideon Engelberth4-Aug-08 3:13
Gideon Engelberth4-Aug-08 3:13 
It sounds like you would be best off putting the DataTemplates in a class library and referencing that dll from every project that should use the shared templates. Once you do that, you can reference the templates like this:

<Application.Resources>
  <ResourceDictionary>
    <ResourceDictionary.MergedDictionaries>
      <ResourceDictionary 
          Source="pack://application:,,,/(name of dll without extension);component/DefaultStyles.xaml" />
    </ResourceDictionary.MergedDictionaries>
  </ResourceDictionary>
</Application.Resources>


Notice that the resources in your external dll are broken down by file. So if you have different groups of templates or styles or whatever resources, this allows you to reference only the resources you want.
AnswerRe: DataTemplate "library" Pin
Jammer5-Aug-08 2:42
Jammer5-Aug-08 2:42 
QuestionMake A Storyboard Reverse Pin
BlitzPackage3-Aug-08 10:11
BlitzPackage3-Aug-08 10:11 
AnswerRe: Make A Storyboard Reverse Pin
Pete O'Hanlon3-Aug-08 11:08
mvePete O'Hanlon3-Aug-08 11:08 
Questionsilverlight-InitializeComponent Pin
r aa j1-Aug-08 1:50
r aa j1-Aug-08 1:50 
AnswerRe: silverlight-InitializeComponent Pin
Michael Sync3-Aug-08 21:13
Michael Sync3-Aug-08 21:13 
Questiongetting HttpWebRequest Pin
r aa j30-Jul-08 21:30
r aa j30-Jul-08 21:30 
AnswerRe: getting HttpWebRequest Pin
Michael Sync31-Jul-08 16:45
Michael Sync31-Jul-08 16:45 
GeneralRe: getting HttpWebRequest Pin
r aa j31-Jul-08 21:05
r aa j31-Jul-08 21:05 
GeneralRe: getting HttpWebRequest Pin
Michael Sync31-Jul-08 22:42
Michael Sync31-Jul-08 22:42 
GeneralRe: getting HttpWebRequest Pin
r aa j31-Jul-08 22:52
r aa j31-Jul-08 22:52 
GeneralRe: getting HttpWebRequest Pin
Michael Sync31-Jul-08 23:00
Michael Sync31-Jul-08 23:00 
GeneralRe: getting HttpWebRequest Pin
r aa j1-Aug-08 1:25
r aa j1-Aug-08 1:25 
GeneralRe: getting HttpWebRequest Pin
r aa j1-Aug-08 1:42
r aa j1-Aug-08 1:42 
QuestionFlippable 3D List Items in WPF Pin
sumeetneo29-Jul-08 4:27
sumeetneo29-Jul-08 4:27 
AnswerRe: Flippable 3D List Items in WPF Pin
Jammer29-Jul-08 5:07
Jammer29-Jul-08 5:07 
GeneralRe: Flippable 3D List Items in WPF Pin
sumeetneo29-Jul-08 6:23
sumeetneo29-Jul-08 6:23 
GeneralRe: Flippable 3D List Items in WPF Pin
Thomas Stockwell29-Jul-08 9:27
professionalThomas Stockwell29-Jul-08 9:27 

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.