The following XML file is used in combination with the XSLT file posted in an earlier post. These 2 files transoform into HMTL that views correctly in Visual Studio 2010 HelpViewer 1.0.
xml version="1.0" encoding="iso-8859-1"?>
xml-stylesheet type="text/xsl" href="../xslt/gravity.xslt"?>
<TopoixHelpDocument>
<Meta>
<title>Buttontitle>
<metaTitle>ButtonmetaTitle>
<metaID>TopoixApiHelp3-7F3D2D9D-000016metaID>
<metaParent>TopoixApiHelp3-7F3D2D9D-0000C2metaParent>
<metaKeyword1>ButtonmetaKeyword1>
<metaKeyword2>Avaeon.Topoix.Gravity.ButtonmetaKeyword2>
<metaF1>Avaeon.Topoix.Gravity.ButtonmetaF1>
Meta>
<HelpBody>
<majorTitle>ButtonmajorTitle>
<title>Buttontitle>
<feedbackLink>ButtonfeedbackLink>
<summary>
<summaryText>
A control to represent a clickable button.
summaryText>
summary>
<syntax>
<codeSnippet>control Button buttonNamecodeSnippet>
<properties>
<property>
<hierachy>public;declared;hierachy>
<linkUrl>ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-00010BlinkUrl>
<linkUrlName>TextlinkUrlName>
<linkUrlDescription>The text that appears on the client as the name of the button.linkUrlDescription>
property>
<property>
<hierachy>public;declared;hierachy>
<linkUrl>ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-0000B6linkUrl>
<linkUrlName>IsVisiblelinkUrlName>
<linkUrlDescription>
A <a href="ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-000086">GravityExpression a> returning a boolean value indicating whether or not the button
should be visible.
linkUrlDescription>
property>
<property>
<hierachy>public;declared;hierachy>
<linkUrl>ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-00005ElinkUrl>
<linkUrlName>EnabledlinkUrlName>
<linkUrlDescription>Evalutes to true or false and determines is the button is clickable or not.linkUrlDescription>
property>
<property>
<hierachy>public;declared;hierachy>
<linkUrl>ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-00005FlinkUrl>
<linkUrlName>EnableOnFormCompletelinkUrlName>
<linkUrlDescription>
A <a href="ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-000086">GravityExpressiona> returning a boolean indicating to the client that this button
should be enabled when all the required controls on its form have a value.
linkUrlDescription>
property>
<property>
<hierachy>public;declared;hierachy>
<linkUrl>ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-0000ADlinkUrl>
<linkUrlName>ImageUrllinkUrlName>
<linkUrlDescription>
A <a href="ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-000086">GravityExpressiona> returning the string to use as an icon for the button.
linkUrlDescription>
property>
<property>
<hierachy>public;declared;hierachy>
<linkUrl>ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-000117linkUrl>
<linkUrlName>ToolTiplinkUrlName>
<linkUrlDescription>
A <a href="ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-000086">GravityExpressiona> returning the string to use as a tooltip for the button.
linkUrlDescription>
property>
<property>
<hierachy>public;inherited;hierachy>
<linkUrl>ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-000040linkUrl>
<linkUrlName>AlwaysPostlinkUrlName>
<linkUrlDescription>
A <a href="ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-000086" xmlns="http://www.w3.org/1999/xhtml">GravityExpressiona> that returns true if the control should always post its
value when it loses the focus, even if it has not changed.
linkUrlDescription>
property>
<property>
<hierachy>public;inherited;hierachy>
<linkUrl>ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-0000DAlinkUrl>
<linkUrlName>PromptlinkUrlName>
<linkUrlDescription>The prompt that will be displayed when focus is set on the control.linkUrlDescription>
property>
<property>
<hierachy>public;inherited;hierachy>
<linkUrl>ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-00001ElinkUrl>
<linkUrlName>ClassNamelinkUrlName>
<linkUrlDescription>
<p>The ClassName property can be applied to any control.p>
<p>It takes a string and adds that string to the html element of the control as one of the class names of that controlp>
<p>e.g.p>
<p>property ClassName:=hello;p>
<p>would result in class="hello" in the HTMLp>
<p>any existing classes in HTML are unaffected, i.e the class is added e.g. class="existing hello"p>
linkUrlDescription>
property>
<property>
<hierachy>public;inherited;hierachy>
<linkUrl>ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-0000CDlinkUrl>
<linkUrlName>NextControllinkUrlName>
<linkUrlDescription>
A <a href="ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-000086">GravityExpressiona> returning the control that the focus will move to when the
current control is tabbed off.
linkUrlDescription>
property>
properties>
<events>
<event>
<hierachy>public;declared;hierachy>
<linkUrl>ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-00001FlinkUrl>
<linkUrlName>ClicklinkUrlName>
<linkUrlDescription>The <a href="ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-000090">GravityStatementa> executed when a click event is fired.linkUrlDescription>
event>
<event>
<hierachy>public;declared;hierachy>
<linkUrl>ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-00006ClinkUrl>
<linkUrlName>FocuslinkUrlName>
<linkUrlDescription>
The <a href="ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-000090">GravityStatementa> executed when a control is focused.
linkUrlDescription>
event>
events>
<settings>
<setting>
<hierachy>public;declared;hierachy>
<linkUrl>ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-0000F5linkUrl>
<linkUrlName>DoNotPostlinkUrlName>
<linkUrlDescription>Flag to determine if value is posted to server after being set.linkUrlDescription>
setting>
settings>
<parameters>
<parameter>
<name>valuename>
<typeLink>ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-EntitiestypeLink>
<typeLinkNameSpace>EntityCollectiontypeLinkNameSpace>
<typeName>typeName>
<typeText>The Entity to add.typeText>
parameter>
parameters>
<remarks>
<text>
<p>A Button is defined with the control keyword.p>
<p>
To reference this Button from the HTML. Add the following code in the HTML where you want to show the Button. You can only reference a Button from a HTML page that has been assigned to the URL property of the containing form.
input type="button" id="BtnHelloWorld" class="button"
p>
text>
remarks>
<example>
<link>ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-000016link>
<linkText>ButtonlinkText>
<codeSnippetFull>
<span class="kwrd">
controlspan> Button BtnHelloWorld
{
<span class="kwrd">eventspan> Click
{
UI.ShowMessage(<span class="str">"Hello World"span>);
}
<span class="kwrd">propertyspan> Text := <span class="str">"Say Hello"span>;
<span class="kwrd">propertyspan> ToolTip := <span class="str">"Say Hello!"span>;
<span class="kwrd">propertyspan> NextControl := <span class="kwrd">nullspan>;
}
codeSnippetFull>
example>
syntax>
<seeAlsos>
<seeAlso>
<link>ms-xhelp:///?Id=TopoixApiHelp3-7F3D2D9D-000071link>
<text>Formtext>
seeAlso>
seeAlsos>
HelpBody>
TopoixHelpDocument>
23 comments:
Hi,
Very nice and useful information shared, this blog is very good to acknowledge yourself and to remain updated, especially your writing style is very attractive, keep it up.
Hey
Increase the font size. I am unable to read and focus on it.
Thank God was looking for this. Got my solution. Thank you
Hi mate,
This is nice to see this blog with all the .net coding information at one place.
Stages in Datastage
Hi,
Interesting layout on your blog.Love your blog.I got a fantastic information here thanks.Keep it up.
Fantastic your blog, but increase it the font size, make unable to read and focus on it.Thanks for sharing this blog.
Wow.fantastic article,It's so nice and your blog is very good.
I've learned a lot from your blog here, Your provided links is very super perfect i really like it.
Keep it up and Thanks you for sharing......!
Hi, Very nice and useful information shared, this blog is very good to acknowledge yourself and to remain updated, especially your writing style is very attractive, keep it up.
Nice post love your blog.This blog is awesome full of use full information that i was in dire need of. Thanks for this post. Keep it up.
Very informative and impressive article. unique information.
Really nice blog, very informative. Thanks dude for wonderful posting. Keep it up in the future as well.
Wow. Fantastic article, it’s so nice and your blog is very good.
I've learned a lot from your blog here, you’re provided blog is very super perfect i really like it. Keep it up and Thanks you for sharing......!
Intresting layout on your blog. Best wishes for you future blogging career.
Hi,
Nice post! Your content is very valuable to me and just make it as my reference. Keep blogging with new post! Unique and useful to follower.
Nice information, many thanks to the author. It is incomprehensible to me now, but in general,
The usefulness and significance is overwhelming.
Thanks again and good luck!
Wow, it is really fantastic. I have used it. It is looking so cute. Love your blog.Best wishes for you future blogging career. Thanks
It is a very interesting topic that you’ve written here.
The truth is that I’m really related to this, and I think this is a good opportunity to learn more about it.
It is a very interesting topic that you’ve written here.
The truth is that I’m really related to this, and I think this is a good opportunity to learn more about it.
Very nice and informative blog you have shared... that's great.......
This blog is awesome full of use full information that i was in dire need of. Thanks for this post. Keep it up...... This is awesome.......
Thank you for such a wonderful post...... i am very impressed with this.......
I am amazed to see such an amazing post. Keep up the good work.
This is very useful....
This useful informations will help for sure..increase the font size li'll bit
Budget Hotels in Ranchi
Post a Comment