Click here to Skip to main content
15,886,518 members
Articles / Programming Languages / C#

Hello UIPAB

Rate me:
Please Sign up or sign in to vote.
4.76/5 (27 votes)
24 Mar 2005CPOL14 min read 117.8K   230   84  
A primer to Microsoft's User Interface Process Application Block.
<configuration>
    <configSections>
		<section 
        	name="uipConfiguration" 
			type="Microsoft.ApplicationBlocks.UIProcess.UIPConfigHandler,  Microsoft.ApplicationBlocks.UIProcess, Version=1.0.1.0,Culture=neutral,PublicKeyToken=null" />
    </configSections>
  
	<uipConfiguration>
        <objectTypes>
			<iViewManager 
				name="WizardViewManager"
				type="Microsoft.ApplicationBlocks.UIProcess.WizardViewManager, Microsoft.ApplicationBlocks.UIProcess, Version=1.0.1.0,Culture=neutral,PublicKeyToken=null"
				/>
				
            <state 
                name="State" 
                type="Microsoft.ApplicationBlocks.UIProcess.State, Microsoft.ApplicationBlocks.UIProcess, Version=1.0.1.0,Culture=neutral,PublicKeyToken=null"
                default="true"
             />
				       
            <controller 
                name="SimpleController" 
                type="SimpleWizardUIPAB.SimpleController, SimpleWizardUIPAB, Version=1.0.1.0,Culture=neutral,PublicKeyToken=null" />
                
             <statePersistenceProvider 
                name="MemoryPersistState"  
                type="Microsoft.ApplicationBlocks.UIProcess.MemoryStatePersistence, Microsoft.ApplicationBlocks.UIProcess, Version=1.0.1.0,Culture=neutral,PublicKeyToken=null"                
                default="true"
			/>
        </objectTypes>
        <views>
            <view  
                name="View1"  
                type="SimpleWizardUIPAB.View1, SimpleWizardUIPAB, Version=1.0.1.0,Culture=neutral,PublicKeyToken=null"  
                controller="SimpleController"/>
            <view  
                name="View2"  
                type="SimpleWizardUIPAB.View2, SimpleWizardUIPAB, Version=1.0.1.0,Culture=neutral,PublicKeyToken=null"  
                controller="SimpleController"/>
            <view  
                name="View3"  
                type="SimpleWizardUIPAB.View3, SimpleWizardUIPAB, Version=1.0.1.0,Culture=neutral,PublicKeyToken=null"  
                controller="SimpleController"/>
        </views>    
        
        <navigationGraph 
			name="SimpleWizardUIPAB" 
			iViewManager="WizardViewManager" 
			startView="View1" 
			statePersist="MemoryPersistState" 
			state="State">
			
			<node view="View1">
				<navigateTo navigateValue="next" view="View2" />
			</node>
			<node view="View2">
				<navigateTo navigateValue="next" view="View3" />
			</node>
			<node view="View3">
				<navigateTo navigateValue="next" view="View3" />
			</node>
		</navigationGraph>   
				
		<uipWizard name="SimpleWizard">
			<sequence view="View1"/>
			<sequence view="View2"/>
			<sequence view="View3"/>
		</uipWizard>    
				 			
    </uipConfiguration>
</configuration>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
United States United States
Roy is a software developer who digs all aspects of software development, from design and architecture to implementation.

Comments and Discussions