This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-16"?> | |
<Canvas xmlns:p="property" Id="PLy3O5dlkuJOtWlMv6irCk" MergeId="61637"> | |
<!-- | |
************************ NeighbourSum ************************ | |
--> | |
<Node Name="NeighbourSum" Bounds="1101,139,296,422" Id="K8Vfvcmeer7Lt0LVGtXaaA"> | |
<p:NodeReference LastCategoryFullName="Primitive" LastSymbolSource="Builtin" LastDependency="VVVV.VL.DynamicBuffersAndTextures.vl"> | |
<Choice Kind="RegionFlag" Name="Region" Fixed="true" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class DependencyPropertyExtensions | |
{ | |
public static T GetValue<T>(this DependencyObject obj, Expression<Func<T>> expression) | |
{ | |
var dpd = DependencyHelper.GetDpdFromExpression(expression); | |
return (T)dpd.GetValue(obj); | |
} | |
public static void SetValue<T>(this DependencyObject obj, Expression<Func<T>> expression, T value) | |
{ |