コード例 #1
0
        private static void LeavingDateCallback(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            AssuranceInfoComponent comp = d as AssuranceInfoComponent;

            if (comp != null)
            {
                string value = e.NewValue as string;
                ControlExt.SetDataSourcePath(comp.LeavingDate, value);
            }
        }
コード例 #2
0
        private static void ChangedMagnifierCb(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ICommand value = e.NewValue as ICommand;
            AssuranceInfoComponent component = d as AssuranceInfoComponent;

            if (component != null)
            {
                component.UpdateMagnifierValue(value);
            }
        }
コード例 #3
0
        private static void DataSourceCallCb(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            AssuranceInfoComponent info = d as AssuranceInfoComponent;

            info?.UpdateDo(e);
        }