Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where do i find the staticresources?

Where do i find the staticresources defined? I have a textbox that has the following style:

Style="{StaticResource PhoneTextTitle1Style}"
like image 506
Jason94 Avatar asked Mar 29 '12 17:03

Jason94


People also ask

How do I access static resources?

From Setup, enter Static Resources in the Quick Find box, then select Static Resources. To view the resource details, click the name of a resource. Available details include the MIME type, the size of the resource in bytes, when it was created, and when it was last modified.

Where is static resource in Salesforce?

From Setup, enter Static Resources in the Quick Find box, then select Static Resources, and then click New. Enter jQueryMobile for the Name. Click Choose File, and then choose the jquery.

How do you access static resources in Apex class?

If you want to get some file from zipped static resource, you can use getContent(): StaticResource static_resource = [SELECT Id, SystemModStamp FROM StaticResource WHERE Name = 'My Zip Array' LIMIT 1]; String url_file_ref = '/resource/' + String. valueOf(((DateTime)static_resource. get('SystemModStamp')).

What are static resources?

Static resources are resources not assigned to a path network and therefore do not visibly move. A static resource may be needed to perform an operation at only one location, such as an inspection operator, and will appear during the entire simulation in the same place it was defined graphically.


2 Answers

There are some lists online - e.g. http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff769552%28v=vs.105%29.aspx

If you want to see the Xaml, then take a look in your wp7 sdk directory - e.g. In c:/program files x86/Microsoft sdks/windowsphone/7.1/design - you'll find theme resource Xaml files in there which define all the platform common styles for each colour scheme (dark and light)

like image 69
Stuart Avatar answered Oct 26 '22 12:10

Stuart


This page has a list of current styles for windows phone 7.1 and 8:

http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff769552(v=vs.105).aspx

like image 45
sacha Avatar answered Oct 26 '22 11:10

sacha