|
//Copyright (c) Microsoft Corporation. All rights reserved.
using System.Diagnostics;
namespace Microsoft.WindowsAPICodePack.Dialogs.Controls
{
/// <summary>
/// Defines the class for the simplest separator controls.
/// </summary>
public class CommonFileDialogSeparator : CommonFileDialogControl
{
/// <summary>
/// Attach the Separator control to the dialog object
/// </summary>
/// <param name="dialog">Target dialog</param>
internal override void Attach(IFileDialogCustomize dialog)
{
Debug.Assert(dialog != null, "CommonFileDialogSeparator.Attach: dialog parameter can not be null");
// Add a separator
dialog.AddSeparator(this.Id);
// Sync unmanaged properties with managed properties
SyncUnmanagedProperties();
}
}
}
|
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.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.