Exemple #1
0
 /// <summary>
 /// Gets the key.
 /// </summary>
 /// <param name="contextObject">The context.</param>
 /// <returns>key stored in context property</returns>
 private string GetKey(object contextObject)
 {
     return(LocalizedBinding.ResolveKey(contextObject, this.propertyPath));
 }
 /// <summary>
 /// Gets the key.
 /// </summary>
 /// <param name="element">The framework element.</param>
 /// <returns>key or null</returns>
 private string GetKey(FrameworkElement element)
 {
     return(LocalizedBinding.ResolveKey(element.DataContext, this.PropertyPath));
 }