本文整理汇总了C#中System.Windows.Data.BindingBase.ChangeFlagsWithinMask方法的典型用法代码示例。如果您正苦于以下问题:C# BindingBase.ChangeFlagsWithinMask方法的具体用法?C# BindingBase.ChangeFlagsWithinMask怎么用?C# BindingBase.ChangeFlagsWithinMask使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Windows.Data.BindingBase
的用法示例。
在下文中一共展示了BindingBase.ChangeFlagsWithinMask方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InitializeClone
// initialize a clone
internal virtual void InitializeClone(BindingBase clone, BindingMode mode)
{
clone._flags = _flags;
CopyValue(Feature.FallbackValue, clone);
clone._isSealed = _isSealed;
CopyValue(Feature.StringFormat, clone);
CopyValue(Feature.TargetNullValue, clone);
CopyValue(Feature.BindingGroupName, clone);
clone.ChangeFlagsWithinMask(BindingFlags.PropagationMask, FlagsFrom(mode));
}
示例2: InitializeClone
// initialize a clone
internal virtual void InitializeClone(BindingBase clone, BindingMode mode)
{
clone._flags = _flags;
clone._fallbackValue = _fallbackValue;
clone._isSealed = _isSealed;
clone._stringFormat = _stringFormat;
clone._targetNullValue = _targetNullValue;
clone._bindingGroupName = _bindingGroupName;
clone.ChangeFlagsWithinMask(BindingFlags.PropagationMask, FlagsFrom(mode));
}