Skip to content

screen shot -> screenshot #11655

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,41 +26,41 @@ Hosting workflow services in App Fabric is similar to hosting under IIS/WAS. The

3. Right click OrderService and select **Manage WCF and WF Services**, **Configure…**. The **Configure WCF and WF for Application** dialog box is displayed.

4. Select the **General** tab to display general information about the application as shown in the following screen shot.
4. Select the **General** tab to display general information about the application as shown in the following screenshot.

![General tab of the App Fabric Configuration dialog](../../../../docs/framework/wcf/feature-details/media/appfabricconfiguration-general.gif "AppFabricConfiguration-General")

5. Select the **Monitoring** tab. This shows various monitoring settings as shown in the following screen shot.
5. Select the **Monitoring** tab. This shows various monitoring settings as shown in the following screenshot.

![App Fabric Configuration Monitoring tab](../../../../docs/framework/wcf/feature-details/media/appfabricconfiguration-monitoring.gif "AppFabricConfiguration-Monitoring")

For more information about configuring workflow service monitoring in App Fabric see [Configuring monitoring with App Fabric](https://go.microsoft.com/fwlink/?LinkId=193153).

6. Select the **Workflow Persistence** tab. This allows you to configure your application to use App Fabric’s default persistence provider as shown in the following screen shot.
6. Select the **Workflow Persistence** tab. This allows you to configure your application to use App Fabric’s default persistence provider as shown in the following screenshot.

![App Fabric Configuration - Persistence](../../../../docs/framework/wcf/feature-details/media/appfabricconfiguration-persistence.gif "AppFabricConfiguration-Persistence")

For more information about configuring workflow persistence in Windows Server App Fabric see [Configuring Workflow Persistence in App Fabric](https://go.microsoft.com/fwlink/?LinkId=193148).

7. Select the **Workflow Host Management** tab. This allows you to specify when idle workflow service instances should be unloaded and persisted as shown in the following screen shot.
7. Select the **Workflow Host Management** tab. This allows you to specify when idle workflow service instances should be unloaded and persisted as shown in the following screenshot.

![App Fabric Configuration Workflow Host Management](../../../../docs/framework/wcf/feature-details/media/appfabricconfiguration-management.gif "AppFabricConfiguration-Management")

For more information about workflow host management configuration see [Configuring Workflow Host Management in App Fabric](https://go.microsoft.com/fwlink/?LinkId=193151).

8. Select the **Auto-Start** tab. This allows you to specify auto-start settings for the workflow services in the application as shown in the following screen shot.
8. Select the **Auto-Start** tab. This allows you to specify auto-start settings for the workflow services in the application as shown in the following screenshot.

![Screenshot that shows App Fabric Auto-start configuration.](./media/how-to-host-a-workflow-service-with-windows-server-app-fabric/app-fabric-auto-start-configuration.gif)

For more information about configuring Auto-Start see [Configuring Auto-Start with App Fabric](https://go.microsoft.com/fwlink/?LinkId=193150).

9. Select the **Throttling** tab. This allows you to configure throttling settings for the workflow service as shown in the following screen shot.
9. Select the **Throttling** tab. This allows you to configure throttling settings for the workflow service as shown in the following screenshot.

![Screenshot that shows App Fabric throttling configuration.](./media/how-to-host-a-workflow-service-with-windows-server-app-fabric/app-fabric-throttling-configuration.gif)

For more information about configuring throttling see [Configuring Throttling with App Fabric](https://go.microsoft.com/fwlink/?LinkId=193149).

10. Select the **Security** tab. This allows you to configure security settings for the application as shown in the following screen shot.
10. Select the **Security** tab. This allows you to configure security settings for the application as shown in the following screenshot.

![App Fabric Security Configuration](../../../../docs/framework/wcf/feature-details/media/appfabricconfiguration-security.gif "AppFabricConfiguration-Security")

Expand All @@ -74,11 +74,11 @@ Hosting workflow services in App Fabric is similar to hosting under IIS/WAS. The

3. The client will run and Visual Studio will display an **Attach Security Warning** dialog box, click the **Don’t Attach** button. This tells Visual Studio to not attach to the IIS process for debugging.

4. The client application will immediately call the Workflow service and then wait. The workflow service will go idle and be persisted. You can verify this by starting Internet Information Services (inetmgr.exe), navigating to the OrderService in the Connections pane and selecting it. Next, click the App Fabric Dashboard icon in the right-hand pane. Under Persisted WF Instances you will see there is one persisted workflow service instance as shown in the following screen shot.
4. The client application will immediately call the Workflow service and then wait. The workflow service will go idle and be persisted. You can verify this by starting Internet Information Services (inetmgr.exe), navigating to the OrderService in the Connections pane and selecting it. Next, click the App Fabric Dashboard icon in the right-hand pane. Under Persisted WF Instances you will see there is one persisted workflow service instance as shown in the following screenshot.

![Screenshot that shows the App Fabric Dashboard.](./media/how-to-host-a-workflow-service-with-windows-server-app-fabric/app-fabric-dashboard.gif)

The **WF Instance History** lists information about the workflow service such as the number of workflow service activations, the number of workflow service instance completions, and the number of workflow instances with failures. Under Active or Idle instances a link will be displayed, clicking on the link will display more information about the idle workflow instances as shown in the following screen shot.
The **WF Instance History** lists information about the workflow service such as the number of workflow service activations, the number of workflow service instance completions, and the number of workflow instances with failures. Under Active or Idle instances a link will be displayed, clicking on the link will display more information about the idle workflow instances as shown in the following screenshot.

![Screenshot that shows Persisted Workflow Instance Details.](./media/how-to-host-a-workflow-service-with-windows-server-app-fabric/persisted-workflow-instance-detail.gif)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ms.assetid: 85604bce-bc03-49d9-9030-dda8896c44b1

If the <xref:System.Windows.Forms.DataGrid> is bound to data with multiple related tables, and if navigation is enabled on the grid, the grid will display expanders in each row. With an expander, the user can move from a parent table to a child table. Clicking a node displays the child table, and clicking a back button displays the original parent table. In this manner, the grid displays the hierarchical relationships between tables.

The following screen shot shows a DataGrid bound to data with multiple tables.
The following screenshot shows a DataGrid bound to data with multiple tables.

![A DataGrid bound to data with multiple tables](./media/vbcontrol1.gif "vbControl1")
A DataGrid bound to data with multiple tables
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ public partial class Window1 : Window {

Which gives you:

![WPF application screen shot](./media/interoparch09.PNG "InteropArch09")
![WPF application screenshot](./media/interoparch09.PNG "InteropArch09")

## See also

Expand Down
2 changes: 1 addition & 1 deletion docs/framework/wpf/controls/listbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ A <xref:System.Windows.Controls.ListBox> control provides users with a list of s

The following figure illustrates a typical <xref:System.Windows.Controls.ListBox>.

![ListBox screen shot](./media/ss-ctl-listbox.gif "SS_CTL_listbox")
![ListBox screenshot](./media/ss-ctl-listbox.gif "SS_CTL_listbox")
Typical ListBox

## In This Section
Expand Down
6 changes: 3 additions & 3 deletions docs/framework/wpf/controls/styling-and-templating.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ms.assetid: 481765e5-5467-4a75-9f7b-e10e2ac410d9

[!code-xaml[StylingIntroSample_snippet#TextBlocks](~/samples/snippets/csharp/VS_Snippets_Wpf/StylingIntroSample_snippet/CSharp/Window1.xaml#textblocks)]

![Styling sample screen shot](./media/stylingintro-textblocksbefore.PNG "StylingIntro_TextBlocksBefore")
![Styling sample screenshot](./media/stylingintro-textblocksbefore.PNG "StylingIntro_TextBlocksBefore")

You can change the default appearance by setting properties, such as <xref:System.Windows.Controls.Control.FontSize%2A> and <xref:System.Windows.Controls.Control.FontFamily%2A>, on each <xref:System.Windows.Controls.TextBlock> element directly. However, if you want your <xref:System.Windows.Controls.TextBlock> elements to share some properties, you can create a <xref:System.Windows.Style> in the `Resources` section of your [!INCLUDE[TLA2#tla_xaml](../../../../includes/tla2sharptla-xaml-md.md)] file, as shown here:

Expand All @@ -51,7 +51,7 @@ ms.assetid: 481765e5-5467-4a75-9f7b-e10e2ac410d9

Now the <xref:System.Windows.Controls.TextBlock> elements appear as follows:

![Styling sample screen shot](./media/stylingintro-textblocksbasestyle.PNG "StylingIntro_TextBlocksBaseStyle")
![Styling sample screenshot](./media/stylingintro-textblocksbasestyle.PNG "StylingIntro_TextBlocksBaseStyle")

### Extending Styles
Perhaps you want your two <xref:System.Windows.Controls.TextBlock> elements to share some property values, such as the <xref:System.Windows.Controls.Control.FontFamily%2A> and the centered <xref:System.Windows.FrameworkElement.HorizontalAlignment%2A>, but you also want the text "My Pictures" to have some additional properties. You can do that by creating a new style that is based on the first style, as shown here:
Expand Down Expand Up @@ -159,7 +159,7 @@ ms.assetid: 481765e5-5467-4a75-9f7b-e10e2ac410d9

In the following illustration, the mouse is pointing to the third item:

![Styling sample screen shot](./media/stylingintro-eventtriggers.png "StylingIntro_EventTriggers")
![Styling sample screenshot](./media/stylingintro-eventtriggers.png "StylingIntro_EventTriggers")

### MultiTriggers, DataTriggers, and MultiDataTriggers
In addition to <xref:System.Windows.Trigger> and <xref:System.Windows.EventTrigger>, there are other types of triggers. <xref:System.Windows.MultiTrigger> allows you to set property values based on multiple conditions. You use <xref:System.Windows.DataTrigger> and <xref:System.Windows.MultiDataTrigger> when the property of your condition is data-bound.
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/wpf/controls/tooltip.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ A tooltip is a small pop-up window that appears when a user pauses the mouse poi

Close button with its tooltip displayed

![ToolTip screen shot](./media/ss-ctl-tooltip.png "SS_CTL_tooltip")
![ToolTip screenshot](./media/ss-ctl-tooltip.png "SS_CTL_tooltip")

## In This Section
[ToolTip Overview](tooltip-overview.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/wpf/data/data-binding-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ms.assetid: c707c95f-7811-401d-956e-2fffd019a211

For an example of data binding, take a look at the following application [!INCLUDE[TLA2#tla_ui](../../../../includes/tla2sharptla-ui-md.md)] from the [Data Binding Demo](https://go.microsoft.com/fwlink/?LinkID=163703):

![Data binding sample screen shot](./media/databinding-databindingdemo.png "DataBinding_DataBindingDemo")
![Data binding sample screenshot](./media/databinding-databindingdemo.png "DataBinding_DataBindingDemo")

The above is the [!INCLUDE[TLA2#tla_ui](../../../../includes/tla2sharptla-ui-md.md)] of an application that displays a list of auction items. The application demonstrates the following features of data binding:

Expand Down
16 changes: 8 additions & 8 deletions docs/framework/wpf/data/data-templating-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The WPF data templating model provides you with great flexibility to define the
### Without a DataTemplate
Without a <xref:System.Windows.DataTemplate>, our <xref:System.Windows.Controls.ListBox> currently looks like this:

![Data templating sample screen shot](./media/datatemplatingintro-fig1.png "DataTemplatingIntro_fig1")
![Data templating sample screenshot](./media/datatemplatingintro-fig1.png "DataTemplatingIntro_fig1")

What's happening is that without any specific instructions, the <xref:System.Windows.Controls.ListBox> by default calls `ToString` when trying to display the objects in the collection. Therefore, if the `Task` object overrides the `ToString` method, then the <xref:System.Windows.Controls.ListBox> displays the string representation of each source object in the underlying collection.

Expand All @@ -46,7 +46,7 @@ The WPF data templating model provides you with great flexibility to define the

Then the <xref:System.Windows.Controls.ListBox> looks like the following:

![Data templating sample screen shot](./media/datatemplatingintro-fig2.png "DataTemplatingIntro_fig2")
![Data templating sample screenshot](./media/datatemplatingintro-fig2.png "DataTemplatingIntro_fig2")

However, that is limiting and inflexible. Also, if you are binding to [!INCLUDE[TLA2#tla_xml](../../../../includes/tla2sharptla-xml-md.md)] data, you wouldn't be able to override `ToString`.

Expand All @@ -60,7 +60,7 @@ The WPF data templating model provides you with great flexibility to define the

Now our <xref:System.Windows.Controls.ListBox> looks like the following:

![Data templating sample screen shot](./media/datatemplatingintro-fig3.png "DataTemplatingIntro_fig3")
![Data templating sample screenshot](./media/datatemplatingintro-fig3.png "DataTemplatingIntro_fig3")

<a name="defining_datatemplate_as_a_resource"></a>
### Creating the DataTemplate as a Resource
Expand Down Expand Up @@ -97,15 +97,15 @@ The WPF data templating model provides you with great flexibility to define the

The following screenshot shows the <xref:System.Windows.Controls.ListBox> with this modified <xref:System.Windows.DataTemplate>:

![Data templating sample screen shot](./media/datatemplatingintro-fig4.png "DataTemplatingIntro_fig4")
![Data templating sample screenshot](./media/datatemplatingintro-fig4.png "DataTemplatingIntro_fig4")

We can set <xref:System.Windows.Controls.Control.HorizontalContentAlignment%2A> to <xref:System.Windows.HorizontalAlignment.Stretch> on the <xref:System.Windows.Controls.ListBox> to make sure the width of the items takes up the entire space:

[!code-xaml[DataTemplatingIntro_snip#Stretch](~/samples/snippets/csharp/VS_Snippets_Wpf/DataTemplatingIntro_snip/CSharp/Window1.xaml#stretch)]

With the <xref:System.Windows.Controls.Control.HorizontalContentAlignment%2A> property set to <xref:System.Windows.HorizontalAlignment.Stretch>, the <xref:System.Windows.Controls.ListBox> now looks like this:

![Data templating sample screen shot](./media/datatemplatingintro-fig5.png "DataTemplatingIntro_fig5")
![Data templating sample screenshot](./media/datatemplatingintro-fig5.png "DataTemplatingIntro_fig5")

<a name="DataTrigger_to_Apply_Property_Values"></a>
### Use DataTriggers to Apply Property Values
Expand All @@ -119,7 +119,7 @@ The WPF data templating model provides you with great flexibility to define the

Our application now looks like the following. Home tasks appear with a yellow border and office tasks appear with an aqua border:

![Data templating sample screen shot](./media/datatemplatingintro-fig6.png "DataTemplatingIntro_fig6")
![Data templating sample screenshot](./media/datatemplatingintro-fig6.png "DataTemplatingIntro_fig6")

In this example the <xref:System.Windows.DataTrigger> uses a <xref:System.Windows.Setter> to set a property value. The trigger classes also have the <xref:System.Windows.TriggerBase.EnterActions%2A> and <xref:System.Windows.TriggerBase.ExitActions%2A> properties that allow you to start a set of actions such as animations. In addition, there is also a <xref:System.Windows.MultiDataTrigger> class that allows you to apply changes based on multiple data-bound property values.

Expand Down Expand Up @@ -159,7 +159,7 @@ In the previous example, we placed the trigger within the <xref:System.Windows.D

With the template selector in place, the <xref:System.Windows.Controls.ListBox> now appears as follows:

![Data templating sample screen shot](./media/datatemplatingintro-fig7.png "DataTemplatingIntro_fig7")
![Data templating sample screenshot](./media/datatemplatingintro-fig7.png "DataTemplatingIntro_fig7")

This concludes our discussion of this example. For the complete sample, see [Introduction to Data Templating Sample](https://github.com/Microsoft/WPF-Samples/tree/master/Data%20Binding/DataTemplatingIntro).

Expand All @@ -185,7 +185,7 @@ This concludes our discussion of this example. For the complete sample, see [Int

The example shows that with the use of <xref:System.Windows.HierarchicalDataTemplate>, you can easily display list data that contains other lists. The following is a screenshot of the example.

![HierarchicalDataTemplate sample screen shot](./media/databinding-hierarchicaldatatemplate.png "DataBinding_HierarchicalDataTemplate")
![HierarchicalDataTemplate sample screenshot](./media/databinding-hierarchicaldatatemplate.png "DataBinding_HierarchicalDataTemplate")

## See also
- [Data Binding](../advanced/optimizing-performance-data-binding.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This topic describes how to use the <xref:System.Windows.Data.Binding.UpdateSour

As a result, the <xref:System.Windows.Controls.TextBlock> shows the same text (because the source changes) as the user enters text into the <xref:System.Windows.Controls.TextBox>, as illustrated by the following screenshot of the sample:

![Simple data binding sample screen shot](./media/databindingsimplebindingsample2.png "DataBindingSimpleBindingSample2")
![Simple data binding sample screenshot](./media/databindingsimplebindingsample2.png "DataBindingSimpleBindingSample2")

If you have a dialog or a user-editable form and you want to defer source updates until the user is finished editing the fields and clicks "OK", you can set the <xref:System.Windows.Data.Binding.UpdateSourceTrigger%2A> value of your bindings to <xref:System.Windows.Data.UpdateSourceTrigger.Explicit>, as in the following example:

Expand Down
Loading