public static DataFlowCollection GetDataFlows(DependencyObject d) { var data_flow_collection = (DataFlowCollection)d.GetValue(DataFlowsProperty); if (data_flow_collection is null) { SetDataFlows(d, data_flow_collection = new DataFlowCollection()); } return(data_flow_collection); }
public static void SetDataFlows(DependencyObject d, DataFlowCollection v) => d.SetValue(DataFlowsProperty, v);