|
//---------------------------------------------------------------------------
//
// File: XamlWriterMode.cs
//
// Description:
// Xaml Writer Modes for values that are of type Expression.
//
// Copyright (C) 2003 by Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System;
namespace System.Windows.Markup
{
/// <summary>
/// Xaml Writer Modes for values that
/// are of type Expression.
/// </summary>
public enum XamlWriterMode
{
/// <summary>
/// Serialize the expression itself
/// Eg. *Bind(...
/// </summary>
Expression,
/// <summary>
/// Evaluated value of the expression will be serialized
/// Eg. The serialization requirements for printing
/// always just require a snap shot of the tree
/// and do not care about evaluating references
/// etc. So in this case we will always want to
/// serialize dereferenced values
/// </summary>
Value
// NOTE: if you add or remove any values in this enum, be sure to update XamlDesignerSerializationManager.IsValidSerializationMode()
}
}
|